Class KeyedItem<KT extends java.lang.Comparable<? super KT>>

java.lang.Object
  extended by KeyedItem<KT>
Direct Known Subclasses:
MyInteger

public abstract class KeyedItem<KT extends java.lang.Comparable<? super KT>>
extends java.lang.Object


Constructor Summary
KeyedItem(KT key)
          Constructor for the KeyedItem
 
Method Summary
 KT getKey()
          Getter for the KeyedItem
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyedItem

public KeyedItem(KT key)
Constructor for the KeyedItem

Parameters:
key - The searchKey that will be used for the data item in the BinarySearchTree.
Method Detail

getKey

public KT getKey()
Getter for the KeyedItem

Returns:
Returns the searchKey.