| |
|
| java.lang.Object org.geotools.util.MapEntry
MapEntry | public class MapEntry implements Map.Entry,Serializable(Code) | | A default implementation of
java.util.Map.Entry which map an arbitrary
key-value pairs. This entry is immutable by default.
since: 2.1 version: $Id: MapEntry.java 22443 2006-10-27 20:47:22Z desruisseaux $ author: Martin Desruisseaux |
Constructor Summary | |
public | MapEntry(Object key, Object value) Creates a new map entry with the specified key-value pair. |
Method Summary | |
public boolean | equals(Object object) Compares the specified object with this entry for equality. | public Object | getKey() Returns the key corresponding to this entry. | public Object | getValue() Returns the value corresponding to this entry. | public int | hashCode() | public Object | setValue(Object value) Replaces the value corresponding to this entry with the specified
value (optional operation). | public String | toString() Returns a string representation of this entry. |
MapEntry | public MapEntry(Object key, Object value)(Code) | | Creates a new map entry with the specified key-value pair.
|
equals | public boolean equals(Object object)(Code) | | Compares the specified object with this entry for equality.
|
getKey | public Object getKey()(Code) | | Returns the key corresponding to this entry.
|
getValue | public Object getValue()(Code) | | Returns the value corresponding to this entry.
|
hashCode | public int hashCode()(Code) | | Returns the hash code value for this map entry
|
toString | public String toString()(Code) | | Returns a string representation of this entry.
|
|
|
|