Top Description Methods
org.eclipse.collections.api.factory.list.primitive

public Interface ImmutableIntListFactory

Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.list.primitive.ImmutableIntList, java.util.stream.IntStream

A factory which creates instances of type ImmutableIntList. This file was automatically generated from template file immutablePrimitiveListFactory.stg.
Since
3.2.

Method Summary

Modifier and TypeMethod and Description
public ImmutableIntList
public ImmutableIntList
of()

Same as empty().

public ImmutableIntList
of(int one)

Same as with(int).

public ImmutableIntList
of(int... items)

Same as with(int[]).

public ImmutableIntList
public ImmutableIntList
public ImmutableIntList
public ImmutableIntList
with()

Same as empty().

public ImmutableIntList
with(int one)

public ImmutableIntList
with(int... items)

public ImmutableIntList
public ImmutableIntList
public ImmutableIntList

Method Detail

emptyback to summary
public ImmutableIntList empty()
Since
6.0
ofback to summary
public ImmutableIntList of()

Same as empty().

ofback to summary
public ImmutableIntList of(int one)

Same as with(int).

ofback to summary
public ImmutableIntList of(int... items)

Same as with(int[]).

ofAllback to summary
public ImmutableIntList ofAll(IntIterable items)

Same as withAll(IntIterable).

ofAllback to summary
public ImmutableIntList ofAll(Iterable<Integer> iterable)

Same as withAll(Iterable).

ofAllback to summary
public ImmutableIntList ofAll(IntStream items)
Since
9.0
withback to summary
public ImmutableIntList with()

Same as empty().

withback to summary
public ImmutableIntList with(int one)
withback to summary
public ImmutableIntList with(int... items)
withAllback to summary
public ImmutableIntList withAll(IntIterable items)
withAllback to summary
public ImmutableIntList withAll(Iterable<Integer> iterable)
withAllback to summary
public ImmutableIntList withAll(IntStream items)
Since
9.0