DataStructures
Interface LookupTable.Entry
- All Known Implementing Classes:
- ProbingHashTable.Entry
- Enclosing class:
- LookupTable
- public static interface LookupTable.Entry
A class of objects returned by iteration over entries.
It represents a table entry as a (key, value) pair.
The only way to obtain a reference to an Entry is to
have one returned from the Lookup.iterator.next method.
- See Also:
LookupTable.iterator()
|
Method Summary |
java.lang.Object |
key()
Returns the key of this entry. |
java.lang.Object |
value()
Returns the value of this entry. |
key
public java.lang.Object key()
- Returns the key of this entry.
- Returns:
- the key of this entry.
value
public java.lang.Object value()
- Returns the value of this entry.
- Returns:
- the value of this entry.