API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. AbstractMap.SimpleImmutableEntry View Source
Author(s)
Since
1.6
Version
Serial
Hierarchy
 Object
      AbstractMap.SimpleImmutableEntry
Implements
 Map.Entry
 Serializable
Subclasses
Description
publicstatic class AbstractMap.SimpleImmutableEntry
  An Entry maintaining an immutable key and value.
See also:   
Constructors
public AbstractMap.SimpleImmutableEntry ( K key, V value)
  Creates an entry representing a mapping from the specified key to the specified value.
public AbstractMap.SimpleImmutableEntry (Entry<Object, Object> entry)
  Creates an entry representing the same mapping as the specified entry.
Methods
Hide/Show inherited methods
public boolean equals (Object o) [Specified in Map.Entry]
  Compares the specified object with this entry for equality.
public K getKey () [Specified in Map.Entry]
  Returns the key corresponding to this entry.
public V getValue () [Specified in Map.Entry]
  Returns the value corresponding to this entry.
public int hashCode () [Specified in Map.Entry]
  Returns the hash code value for this map entry.
public V setValue ( V value) [Specified in Map.Entry]
  Replaces the value corresponding to this entry with the specified value (optional operation).
public String toString ()
  Returns a String representation of this map entry.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar