Constructor and Description |
---|
AbstractMapEntryDecorator(java.util.Map.Entry entry)
Constructor that wraps (not copies).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object) |
java.lang.Object |
getKey()
Gets the key from the pair.
|
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 nullpublic java.lang.Object getKey()
KeyValue
public java.lang.Object getValue()
KeyValue
public java.lang.Object setValue(java.lang.Object object)
setValue
in interface java.util.Map.Entry
public boolean equals(java.lang.Object object)
equals
in interface java.util.Map.Entry
equals
in class java.lang.Object
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
Copyright © 2010 - 2023 Adobe. All Rights Reserved