| Constructor and Description |
|---|
Entry(K firstKey,
T secondKey,
V value) |
| Modifier and Type | Method and Description |
|---|---|
K |
getFirstKey() |
Pair<K,T> |
getKey()
Returns the key corresponding to this entry.
|
T |
getSecondKey() |
V |
getValue() |
void |
setFirstKey(K firstKey) |
void |
setSecondKey(T secondKey) |
V |
setValue(V value)
Replaces the value corresponding to this entry with the specified
value (optional operation).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodepublic K getFirstKey()
public void setFirstKey(K firstKey)
public T getSecondKey()
public void setSecondKey(T secondKey)
public V setValue(V value)
setValue in interface Map.Entry<Pair<K,T>,V>value - new value to be stored in this entryUnsupportedOperationException - if the put operation
is not supported by the backing mapClassCastException - if the class of the specified value
prevents it from being stored in the backing mapNullPointerException - if the backing map does not permit
null values, and the specified value is nullIllegalArgumentException - if some property of this value
prevents it from being stored in the backing mapIllegalStateException - implementations may, but are not
required to, throw this exception if the entry has been
removed from the backing map.Copyright © 2016. All Rights Reserved.