K - the type parameterV - the type parameterpublic final class SimpleMapEntry<K,V> extends Object implements Map.Entry<K,V>, Serializable
| Constructor and Description |
|---|
SimpleMapEntry(K key,
V value)
Instantiates a new Simple map entry.
|
| Modifier and Type | Method and Description |
|---|---|
static <K,V> SimpleMapEntry<K,V> |
copyOf(Map.Entry<? extends K,? extends V> baseEntry)
Copy of.
|
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 static <K,V> SimpleMapEntry<K,V> copyOf(Map.Entry<? extends K,? extends V> baseEntry)
K - the type parameterV - the type parameterbaseEntry - the base entrypublic int hashCode()
public boolean equals(Object obj)
Copyright © 2014 Boleslav Bobcik - Auderis. All rights reserved.