|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.apache.commons.collections.keyvalue.AbstractKeyValue
|
+--org.apache.commons.collections.keyvalue.AbstractMapEntry
Abstract Pair class to assist with creating correct Map Entry implementations.
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this Map Entry with another Map Entry. |
int |
hashCode()
Gets a hashCode compatible with the equals method. |
java.lang.Object |
setValue(java.lang.Object value)
Sets the value stored in this Map Entry. |
| Methods inherited from class org.apache.commons.collections.keyvalue.AbstractKeyValue |
getKey, getValue, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
getKey, getValue |
| Method Detail |
public java.lang.Object setValue(java.lang.Object value)
This Map Entry is not connected to a Map, so only the local data is changed.
setValue in interface java.util.Map.Entryvalue - the new value
public boolean equals(java.lang.Object obj)
Implemented per API documentation of Map.Entry.equals(Object)
equals in interface java.util.Map.Entryequals in class java.lang.Objectobj - the object to compare to
public int hashCode()
Implemented per API documentation of Map.Entry.hashCode()
hashCode in interface java.util.Map.EntryhashCode in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||