java.util.Map.Entry<K,V>, KeyValue<K,V>AbstractDualBidiMap.MapEntrypublic abstract class AbstractMapEntryDecorator<K,V> extends java.lang.Object implements java.util.Map.Entry<K,V>, KeyValue<K,V>
Map.Entry.| Constructor | Description |
|---|---|
AbstractMapEntryDecorator(java.util.Map.Entry<K,V> entry) |
Constructor that wraps (not copies).
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object object) |
|
K |
getKey() |
Gets the key from the pair.
|
protected java.util.Map.Entry<K,V> |
getMapEntry() |
Gets the map being decorated.
|
V |
getValue() |
Gets the value from the pair.
|
int |
hashCode() |
|
V |
setValue(V object) |
|
java.lang.String |
toString() |
protected java.util.Map.Entry<K,V> getMapEntry()
public V getValue()
KeyValuepublic boolean equals(java.lang.Object object)
public int hashCode()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2019 - Apache Software Foundation