|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.myjavatools.lib.foundation.AbstractMap2.Entry<X,Y,V>
public static class AbstractMap2.Entry<X,Y,V>
An entry of a two-parameter map.
Constructor Summary | |
---|---|
AbstractMap2.Entry(X key1,
Y key2,
V value)
Constructor |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
X |
getKey1()
|
Y |
getKey2()
|
V |
getValue()
|
int |
hashCode()
|
V |
setValue(V value)
Replaces the value corresponding to this entry with the specified value |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AbstractMap2.Entry(X key1, Y key2, V value)
key1
- Xkey2
- Yvalue
- VMethod Detail |
---|
public X getKey1()
getKey1
in interface Map2.Entry<X,Y,V>
public Y getKey2()
getKey2
in interface Map2.Entry<X,Y,V>
public V getValue()
getValue
in interface Map2.Entry<X,Y,V>
public V setValue(V value)
setValue
in interface Map2.Entry<X,Y,V>
value
- new value to be stored in this entry.
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |