javax.baja.nre.util
Interface OrderedHashMap.Entry

Enclosing interface:
OrderedHashMap

public static interface OrderedHashMap.Entry

A map entry (key-value pair). OrderHashMap.entrySet() returns a collection-view whose elements are of this class.


Method Summary
 java.lang.Object getKey()
           
 java.lang.Object getValue()
           
 void setValue(java.lang.Object value)
          Replaces the value corresponding to this entry with the specified value.
 

Method Detail

getKey

public java.lang.Object getKey()
Returns:
the key corresponding to this entry. Note that calling this method does not count as an access, and thus will not change the ordering of an access-ordered map.

getValue

public java.lang.Object getValue()
Returns:
the value corresponding to this entry. Note that calling this method does not count as an access, and thus will not change the ordering of an access-ordered map.

setValue

public void setValue(java.lang.Object value)
Replaces the value corresponding to this entry with the specified value. Note that calling this method does not count as an access, and thus will not change the ordering of an access-ordered map.