java.util.Map.Entry, KeyValueAbstractDualBidiMap.MapEntrypublic abstract class AbstractMapEntryDecorator extends java.lang.Object implements java.util.Map.Entry, KeyValue
Map.Entry.| Modifier and Type | Field | Description |
|---|---|---|
protected java.util.Map.Entry |
entry |
The
Map.Entry to decorate |
| Constructor | Description |
|---|---|
AbstractMapEntryDecorator(java.util.Map.Entry entry) |
Constructor that wraps (not copies).
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(java.lang.Object object) |
|
java.lang.Object |
getKey() |
Gets the key from the pair.
|
protected java.util.Map.Entry |
getMapEntry() |
Gets the map being decorated.
|
java.lang.Object |
getValue() |
Gets the value from the pair.
|
int |
hashCode() |
|
java.lang.Object |
setValue(java.lang.Object object) |
|
java.lang.String |
toString() |
public AbstractMapEntryDecorator(java.util.Map.Entry entry)
entry - the Map.Entry to decorate, must not be nulljava.lang.IllegalArgumentException - if the collection is nullprotected java.util.Map.Entry getMapEntry()
public java.lang.Object getKey()
KeyValuepublic java.lang.Object getValue()
KeyValuepublic java.lang.Object setValue(java.lang.Object object)
setValue in interface java.util.Map.Entrypublic boolean equals(java.lang.Object object)
equals in interface java.util.Map.Entryequals in class java.lang.Objectpublic int hashCode()
hashCode in interface java.util.Map.EntryhashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2001-2018 Apache Software Foundation. All Rights Reserved.