| Constructor and Description |
|---|
AbstractMapEntryDecorator(Map.Entry<K,V> entry)
Constructor that wraps (not copies).
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
K |
getKey()
Gets the key from the pair.
|
V |
getValue()
Gets the value from the pair.
|
int |
hashCode() |
V |
setValue(V object) |
String |
toString() |
comparingByKey, comparingByKey, comparingByValue, comparingByValuepublic AbstractMapEntryDecorator(Map.Entry<K,V> entry)
entry - the Map.Entry to decorate, must not be nullNullPointerException - if the collection is nullCopyright © 2010 - 2020 Adobe. All Rights Reserved