datastructures

net.datastructures
Class HashTable.HashEntry

java.lang.Object
  extended bynet.datastructures.HashTable.HashEntry
All Implemented Interfaces:
Entry
Enclosing class:
HashTable

protected static class HashTable.HashEntry
extends Object
implements Entry

Nested class for an entry in a hash table.


Method Summary
 Object key()
          Returns the key stored in this entry.
protected  Object setValue(Object v)
           
 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
 

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

setValue

protected Object setValue(Object v)

datastructures