|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
UnsupportedOperationException
.
setValue
in interface java.util.Map.Entry
public boolean equals(java.lang.Object object)
equals
in interface java.util.Map.Entry
public int hashCode()
hashCode
in interface java.util.Map.Entry
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |