public final class DefaultMapEntry<K,V> extends AbstractMapEntry<K ,V>
| Constructor and Description |
|---|
DefaultMapEntry(KeyValue
Constructs a new entry from the specified
KeyValue.
|
DefaultMapEntry(K key, V value)
Constructs a new entry with the specified key and given value.
|
DefaultMapEntry(Map
Constructs a new entry from the specified
Map.Entry.
|
equals, hashCode, setValuegetKey, getValue, setKey, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, getKey, getValuepublic DefaultMapEntry(K key, V value)
key - the key for the entry, may be null
value - the value for the entry, may be null
public DefaultMapEntry(KeyValue<? extends K ,? extends V> pair)
KeyValue.
pair - the pair to copy, must not be null
NullPointerException - if the entry is null
public DefaultMapEntry(Map.Entry <? extends K ,? extends V> entry)
Map.Entry.
entry - the entry to copy, must not be null
NullPointerException - if the entry is null