|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.qfs.lib.util.MultiMap.MapEntry
An implementation of the Map.Entry interface.
Field Summary | |
protected java.lang.Object |
key
The key of the entry. |
protected java.lang.Object |
value
The value of the entry. |
Constructor Summary | |
MultiMap.MapEntry(java.lang.Object key,
java.lang.Object value)
Create a new MapEntry. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Test whether an object is equal to this entry. |
java.lang.Object |
getKey()
Get the key of the entry. |
java.lang.Object |
getValue()
Get the value of the entry. |
int |
hashCode()
Get a hash code for the entry. |
java.lang.Object |
setValue(java.lang.Object value)
Set the value of this entry. |
java.lang.String |
toString()
Get a String representatio for the entry. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.Object key
protected java.lang.Object value
Constructor Detail |
public MultiMap.MapEntry(java.lang.Object key, java.lang.Object value)
key
- The key of the entry.value
- The value of the entry.Method Detail |
public java.lang.Object getKey()
getKey
in interface java.util.Map.Entry
public java.lang.Object getValue()
getValue
in interface java.util.Map.Entry
public java.lang.Object setValue(java.lang.Object value)
setValue
in interface java.util.Map.Entry
value
- The new value.public boolean equals(java.lang.Object o)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object
o
- The object to test.public int hashCode()
hashCode
in interface java.util.Map.Entry
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
qflib 0.98.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |