K
- the key typeV
- the value type@Immutable public class ImmutableMapEntry<K,V> extends Object implements Map.Entry<K,V>
Map.Entry
implementation.Constructor and Description |
---|
ImmutableMapEntry(K key,
V value) |
ImmutableMapEntry(Map.Entry<K,V> entry) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V newValue) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public int hashCode()
public boolean equals(Object obj)
Copyright © 2008–2016 JBoss, a division of Red Hat. All rights reserved.