DataStructures
Interface LookupTable.Entry<K,V>

Type Parameters:
K - the type of objects serving as keys
V - the type of objects serving as values
Enclosing interface:
LookupTable<K,V>

public static interface LookupTable.Entry<K,V>

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
 K key()
          Returns the key of this entry.
 V value()
          Returns the value of this entry.
 

Method Detail

key

K key()
Returns the key of this entry.

Returns:
the key of this entry.

value

V value()
Returns the value of this entry.

Returns:
the value of this entry.