public static class AbstractMap.SimpleImmutableEntry<K,V> extends Object implements Map.Entry<K,V>, Serializable
Constructor and Description |
---|
SimpleImmutableEntry(K theKey,
V theValue) |
SimpleImmutableEntry(Map.Entry<? extends K,? extends V> copyFrom)
Constructs an instance with the key and value of
copyFrom . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
K |
getKey() |
V |
getValue() |
int |
hashCode() |
V |
setValue(V object)
This base implementation throws
UnsupportedOperationException
always. |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.