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, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValuepublic ImmutableMapEntry(K key, V value)
public ImmutableMapEntry(Map.Entry<K,V> entry)
Copyright © 2008–2021 JBoss, a division of Red Hat. All rights reserved.