Top Fields Constructors Methods
org.eclipse.collections.impl.tuple

public final Class ImmutableEntry<K, V>

extends AbstractImmutableEntry<K, V>
Class Inheritance
Imports
java.util.Map.Entry, .Objects

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from org.eclipse.collections.impl.tuple.AbstractImmutableEntry:
keyvalue

Constructor Summary

AccessConstructor and Description
public
ImmutableEntry(K key, V value)

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(Object object)

Overrides java.lang.Object.equals.

Implements java.util.Map.Entry.equals.

Indicates whether an object equals this entry, following the behavior specified in java.util.Map.Entry#equals(Object).

public int
hashCode()

Overrides java.lang.Object.hashCode.

Implements java.util.Map.Entry.hashCode.

Return this entry's hash code, following the behavior specified in java.util.Map.Entry#hashCode().

public static <T1, T2> ImmutableEntry<T1, T2>
of(T1 key, T2 value)

Inherited from org.eclipse.collections.impl.tuple.AbstractImmutableEntry:
getKeygetKeyFunctiongetPairFunctiongetValuegetValueFunctionsetValuetoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.eclipse.collections.impl.tuple.AbstractImmutableEntry.serialVersionUID.

Constructor Detail

ImmutableEntryback to summary
public ImmutableEntry(K key, V value)

Method Detail

equalsback to summary
public boolean equals(Object object)

Overrides java.lang.Object.equals.

Implements java.util.Map.Entry.equals.

Indicates whether an object equals this entry, following the behavior specified in java.util.Map.Entry#equals(Object).

Annotations
@Override
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Implements java.util.Map.Entry.hashCode.

Return this entry's hash code, following the behavior specified in java.util.Map.Entry#hashCode().

Annotations
@Override
ofback to summary
public static <T1, T2> ImmutableEntry<T1, T2> of(T1 key, T2 value)