Class ImmutableEntry<K,V>
java.lang.Object
org.eclipse.collections.impl.tuple.AbstractImmutableEntry<K,V>
org.eclipse.collections.impl.tuple.ImmutableEntry<K,V>
- All Implemented Interfaces:
Serializable,Map.Entry<K,V>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether an object equals this entry, following the behavior specified inMap.Entry.equals(Object).inthashCode()Return this entry's hash code, following the behavior specified inMap.Entry.hashCode().static <T1,T2> ImmutableEntry<T1, T2> of(T1 key, T2 value) Methods inherited from class org.eclipse.collections.impl.tuple.AbstractImmutableEntry
getKey, getKeyFunction, getPairFunction, getValue, getValueFunction, setValue, toString
-
Constructor Details
-
ImmutableEntry
-
-
Method Details
-
of
-
equals
Indicates whether an object equals this entry, following the behavior specified inMap.Entry.equals(Object). -
hashCode
public int hashCode()Return this entry's hash code, following the behavior specified inMap.Entry.hashCode().
-