public abstract class AbstractMapEntry<K,V> extends AbstractKeyValue<K,V> implements Map.Entry<K,V>
key, value| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMapEntry(K key,
V value)
Constructs a new entry with the given key and given value.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj)
Compares this Map Entry with another Map Entry.
|
int |
hashCode()
Gets a hashCode compatible with the equals method.
|
V |
setValue(V value)
Sets the value stored in this Map Entry.
|
getKey, getValue, toStringpublic V setValue(V value)
public boolean equals(Object obj)
Map.Entry.equals(Object)Copyright © 2014. All Rights Reserved.