All Packages Class Hierarchy This Package Previous Next Index
Class jdsl.simple.ref.SimpleBinarySearchTree
java.lang.Object
|
+----jdsl.simple.ref.SimpleBinarySearchTree
- public class SimpleBinarySearchTree
- extends Object
- implements Dictionary
-
actionPos
-
-
SimpleBinarySearchTree(Comparator)
-
-
checkKey(Object)
-
-
element(Position)
-
-
elements()
-
-
findAllElements(Object)
-
-
findAllVectorEnum(Object, Position)
-
-
findElement(Object)
-
-
findPosition(Object, Position)
-
-
insertItem(Object, Object)
-
-
isEmpty()
-
-
key(Position)
-
-
keys()
-
-
remove(Object)
-
-
removeAll(Object)
-
-
size()
-
-
swap(Position, Position)
-
actionPos
protected Position actionPos
SimpleBinarySearchTree
public SimpleBinarySearchTree(Comparator c)
key
protected Object key(Position position)
element
protected Object element(Position position)
checkKey
protected void checkKey(Object key) throws InvalidKeyException
findPosition
protected Position findPosition(Object key,
Position pos)
findAllVectorEnum
protected VectorEnum findAllVectorEnum(Object key,
Position pos)
size
public int size()
isEmpty
public boolean isEmpty()
findElement
public Object findElement(Object key) throws InvalidKeyException
findAllElements
public Enumeration findAllElements(Object key) throws InvalidKeyException
insertItem
public void insertItem(Object key,
Object element) throws InvalidKeyException
remove
public Object remove(Object key) throws InvalidKeyException
removeAll
public Enumeration removeAll(Object key) throws InvalidKeyException
keys
public Enumeration keys()
elements
public Enumeration elements()
swap
protected void swap(Position swapPos,
Position remPos)
All Packages Class Hierarchy This Package Previous Next Index