java.util.Map.Entry<K,V>
, KeyValue<K,V>
AbstractDualBidiMap.MapEntry
public 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()
KeyValue
public boolean equals(java.lang.Object object)
public int hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2019 - Apache Software Foundation