|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jivesoftware.smack.util.collections.AbstractKeyValue<K,V>
org.jivesoftware.smack.util.collections.AbstractMapEntry<K,V>
public abstract class AbstractMapEntry<K,V>
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. |
V |
setValue(V value)
Sets the value stored in this Map Entry. |
| Methods inherited from class org.jivesoftware.smack.util.collections.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 V setValue(V value)
setValue in interface java.util.Map.Entry<K,V>value - the new value
public boolean equals(java.lang.Object obj)
Map.Entry.equals(Object)
equals in interface java.util.Map.Entry<K,V>equals in class java.lang.Objectobj - the object to compare to
public int hashCode()
Map.Entry.hashCode()
hashCode in interface java.util.Map.Entry<K,V>hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||