|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.HashMap.Entry<K,V>
public static class HashMap.Entry<K,V>
Method Summary | |
---|---|
boolean |
equals(Object o)
Compares the specified object with this entry for equality. |
K |
getKey()
Returns the key corresponding to this entry. |
V |
getValue()
Returns the value corresponding to this entry. |
int |
hashCode()
Returns the hash code value for this map entry. |
V |
setValue(V newValue)
Replaces the value corresponding to this entry with the specified value (optional operation). |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public final K getKey()
Map.Entry
getKey
in interface Map.Entry<K,V>
public final V getValue()
Map.Entry
getValue
in interface Map.Entry<K,V>
public final V setValue(V newValue)
Map.Entry
setValue
in interface Map.Entry<K,V>
public final boolean equals(Object o)
Map.Entry
equals
in interface Map.Entry<K,V>
equals
in class Object
public final int hashCode()
Map.Entry
hashCode
in interface Map.Entry<K,V>
hashCode
in class Object
public final String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |