edu.emory.mathcs.util.collections.ints
Interface IntMap.Entry

Enclosing interface:
IntMap

public static interface IntMap.Entry

Represents the mapping from a int key to an object value. Returned by entrySet().iterator(). The returned entry becomes invalid (i.e. its behavior is no inter guaranteed) if the map is modified in a way other than via iterator.remove() or entry.setValue().


Method Summary
 boolean equals(java.lang.Object o)
           
 int getKey()
          Returns the key associated with this entry.
 java.lang.Object getValue()
          Returns the value associated with this entry.
 int hashCode()
           
 java.lang.Object setValue(java.lang.Object value)
          Assigns a new value to the given key, and returns the old value.
 

Method Detail

getKey

public int getKey()
Returns the key associated with this entry.


getValue

public java.lang.Object getValue()
Returns the value associated with this entry.


setValue

public java.lang.Object setValue(java.lang.Object value)
Assigns a new value to the given key, and returns the old value.


equals

public boolean equals(java.lang.Object o)

hashCode

public int hashCode()