Package org.eclipse.collections.impl.set.immutable
This package contains the implementations of
ImmutableSet
.
This package contains the following immutable set implementations:
-
ImmutableEmptySet
- an immutable set with 0 elements. -
ImmutableSingletonSet
- an immutable set with 1 element. -
ImmutableDoubletonSet
- an immutable set with 2 elements. -
ImmutableTripletonSet
- an immutable set with 3 elements. -
ImmutableQuadrupletonSet
- an immutable set with 4 elements. -
ImmutableUnifiedSet
- the non-modifiable equivalent ofUnifiedSet
.
This package contains one factory implementation:
-
ImmutableSetFactoryImpl
- a factory which creates instances of typeImmutableSet
.
-
Class Summary Class Description AbstractImmutableSet<T> This class is the parent class for all ImmutableSets.ImmutableDoubletonSet<T> ImmutableEmptySet<T> This is a zero elementImmutableSet
which is created by calling the Sets.immutable.empty() method.ImmutableQuadrupletonSet<T> ImmutableSetFactoryImpl ImmutableSetSerializationProxy<T> ImmutableSingletonSet<T> ImmutableTripletonSet<T> ImmutableUnifiedSet<T>