public final class ImmutableEntry<K,V> extends AbstractImmutableEntry<K,V>
Constructor and Description |
---|
ImmutableEntry(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Indicates whether an object equals this entry, following the behavior specified in
Map.Entry#equals(Object) . |
int |
hashCode()
Return this entry's hash code, following the behavior specified in
Map.Entry#hashCode() . |
static <T1,T2> ImmutableEntry<T1,T2> |
of(T1 key,
T2 value) |
getKey, getKeyFunction, getPairFunction, getValue, getValueFunction, setValue, toString
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public static <T1,T2> ImmutableEntry<T1,T2> of(T1 key, T2 value)
public boolean equals(Object object)
Map.Entry#equals(Object)
.Copyright © 2004–2016. All rights reserved.