|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.util.MapEntry
A default implementation of Map.Entry which map an arbitrary
key-value pairs. This entry is immutable by default.
| Constructor Summary | |
MapEntry(java.lang.Object key,
java.lang.Object value)
Creates a new map entry with the specified key-value pair. |
|
| Method Summary | |
boolean |
equals(java.lang.Object object)
Compares the specified object with this entry for equality. |
java.lang.Object |
getKey()
Returns the key corresponding to this entry. |
java.lang.Object |
getValue()
Returns the value corresponding to this entry. |
int |
hashCode()
Returns the hash code value for this map entry |
java.lang.Object |
setValue(java.lang.Object value)
Replaces the value corresponding to this entry with the specified value (optional operation). |
java.lang.String |
toString()
Returns a string representation of this entry. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MapEntry(java.lang.Object key,
java.lang.Object value)
| Method Detail |
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic java.lang.Object setValue(java.lang.Object value)
UnsupportedOperationException.
setValue in interface java.util.Map.Entrypublic boolean equals(java.lang.Object object)
equals in interface java.util.Map.Entrypublic int hashCode()
hashCode in interface java.util.Map.Entrypublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||