datastructures

net.datastructures
Class BinarySearchTree.BSTEntry

java.lang.Object
  extended bynet.datastructures.BinarySearchTree.BSTEntry
All Implemented Interfaces:
Entry
Enclosing class:
BinarySearchTree

protected static class BinarySearchTree.BSTEntry
extends Object
implements Entry

Nested class for location-aware binary search tree entries


Field Summary
protected  Object key
           
protected  Position pos
           
protected  Object value
           
 
Method Summary
 Object key()
          Returns the key stored in this entry.
 Position position()
           
 Object value()
          Returns the value stored in this entry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

protected Object key

value

protected Object value

pos

protected Position pos
Method Detail

key

public Object key()
Description copied from interface: Entry
Returns the key stored in this entry.

Specified by:
key in interface Entry

value

public Object value()
Description copied from interface: Entry
Returns the value stored in this entry.

Specified by:
value in interface Entry

position

public Position position()

datastructures