Package org.eclipse.collections.impl.tuple
This package contains implementations of
Pair
, Twin
,
Triple
and Triplet
interfaces.
A tuple is a container that holds two related objects.
This package contains the following implementations:
-
ImmutableEntry
- an immutableMap.Entry
. -
PairImpl
- a container that holds two related objects. -
Tuples
- a container that holds two related objects. -
TwinImpl
- a convenience class for PairImpl, that has the same type for both items.
-
Class Summary Class Description AbstractImmutableEntry<K,V> AbstractImmutableEntry.KeyFunction<K> Deprecated. Since 6.2 - Kept for serialization compatibility only.AbstractImmutableEntry.PairFunction<K,V> AbstractImmutableEntry.ValueFunction<V> Deprecated. Since 6.2 - Kept for serialization compatibility only.ImmutableEntry<K,V> PairImpl<T1,T2> A PairImpl is a container that holds two related objects.TripleImpl<T1,T2,T3> TripletImpl<T> Tuples A Pair is a container that holds two related objects.TwinImpl<T> A TwinImpl is a PairImpl that has the same type for both items.