|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.util.MapEntry<K,V>
public class MapEntry<K,V>
MapEntry helper class implements Map.Entry. Required until JDK 1.6 becomes every where available.
in JDK 1.6.| Constructor Summary | |
|---|---|
MapEntry(K k,
V v)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object b)
Comparison with any other object. |
K |
getKey()
Get the key. |
V |
getValue()
Get the value. |
int |
hashCode()
Hash code for this MapEntry. |
V |
setValue(V value)
Set the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MapEntry(K k,
V v)
| Method Detail |
|---|
public K getKey()
getKey in interface java.util.Map.Entry<K,V>Map.Entry.getKey()public V getValue()
getValue in interface java.util.Map.Entry<K,V>Map.Entry.getValue()public V setValue(V value)
setValue in interface java.util.Map.Entry<K,V>Map.Entrypublic boolean equals(java.lang.Object b)
equals in interface java.util.Map.Entry<K,V>equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in interface java.util.Map.Entry<K,V>hashCode in class java.lang.ObjectObject.hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||