public final class ImmutableEntryWithHashingStrategy<K,V> extends AbstractImmutableEntry<K,V>
Constructor and Description |
---|
ImmutableEntryWithHashingStrategy(K key,
V value,
HashingStrategy<? super K> hashingStrategy) |
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> ImmutableEntryWithHashingStrategy<T1,T2> |
of(T1 key,
T2 value,
HashingStrategy<? super T1> hashingStrategy) |
getKey, getKeyFunction, getPairFunction, getValue, getValueFunction, setValue, toString
comparingByKey, comparingByKey, comparingByValue, comparingByValue
public ImmutableEntryWithHashingStrategy(K key, V value, HashingStrategy<? super K> hashingStrategy)
public static <T1,T2> ImmutableEntryWithHashingStrategy<T1,T2> of(T1 key, T2 value, HashingStrategy<? super T1> hashingStrategy)
public boolean equals(Object object)
Map.Entry#equals(Object)
.Copyright © 2004–2016. All rights reserved.