Package org.eclipse.collections.impl.list.immutable
This package contains implementations of the
ImmutableList
interface.
An ImmutableList
is the non-modifiable equivalent interface to MutableList
.
-
Class Summary Class Description AbstractImmutableList<T> This class is the parent class for all ImmutableLists.AbstractImmutableList.ImmutableSubList<T> ImmutableArrayList<T> An ImmutableArrayList wraps a Java array, but it cannot be modified after creation.ImmutableDecapletonList<T> This is a ten element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven, eight, nine, ten) method.ImmutableDoubletonList<T> This is a two element immutable List which is created by calling Immutable.newListWith(one, two) method.ImmutableEmptyList<T> This is a zero elementImmutableList
which is created by calling the Lists.immutable.empty() method.ImmutableIterator<T> ImmutableListFactoryImpl ImmutableListIterator<T> ImmutableNonupletonList<T> This is a nine element immutable List which is created by calling Lists.immutable.with(one, two, three, four, five, six, seven, eight, nine) method.ImmutableOctupletonList<T> This is an eight element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven, eight) method.ImmutableQuadrupletonList<T> This is a four element immutable List which is created by calling Immutable.newListWith(one, two, three, four) method.ImmutableQuintupletonList<T> This is a five element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five) method.ImmutableSeptupletonList<T> This is a seven element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven) method.ImmutableSextupletonList<T> This is a six element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six) method.ImmutableSingletonList<T> This is a single element immutable List which is created by calling Immutable.newListWith(one) method.ImmutableTripletonList<T> This is a three element immutable List which is created by calling Immutable.newListWith(one, two, three) method.