public final class ImmutableEntry<K,V> extends AbstractImmutableEntry<K,V>
Constructor | Description |
---|---|
ImmutableEntry(K key,
V value) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.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
public static <T1,T2> ImmutableEntry<T1,T2> of(T1 key, T2 value)
public boolean equals(java.lang.Object object)
Map.Entry.equals(Object)
.equals
in class java.lang.Object
public int hashCode()
Map.Entry.hashCode()
.hashCode
in class java.lang.Object
Copyright © 2004–2018. All rights reserved.