weiss.util
Interface Map.Entry

All Superinterfaces:
java.io.Serializable
Enclosing class:
Map

public static interface Map.Entry
extends java.io.Serializable

The interface used to access the key/value pairs in a map. From a map, use entrySet().iterator to obtain a iterator over a Set of pairs. The next() method of this iterator yields objects of type Map.Entry.


Method Summary
 java.lang.Object getKey()
          Obtains this pair's key.
 java.lang.Object getValue()
          Obtains this pair's value.
 

Method Detail

getKey

public java.lang.Object getKey()
Obtains this pair's key.
Returns:
the key associated with this pair.

getValue

public java.lang.Object getValue()
Obtains this pair's value.
Returns:
the value associated with this pair.