Package org.eclipse.collections.impl.list.immutable
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
.
-
ClassesClassDescriptionThis class is the parent class for all ImmutableLists.An ImmutableArrayList wraps a Java array, but it cannot be modified after creation.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.This is a two element immutable List which is created by calling Immutable.newListWith(one, two) method.This is a zero element
ImmutableList
which is created by calling the Lists.immutable.empty() method.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.This is an eight element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven, eight) method.This is a four element immutable List which is created by calling Immutable.newListWith(one, two, three, four) method.This is a five element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five) method.This is a seven element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven) method.This is a six element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six) method.This is a single element immutable List which is created by calling Immutable.newListWith(one) method.This is a three element immutable List which is created by calling Immutable.newListWith(one, two, three) method.