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

public Interface ImmutableIntStackFactory

Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.stack.primitive.ImmutableIntStack, java.util.stream.IntStream

A factory which creates instances of type ImmutableIntStack. This file was automatically generated from template file immutablePrimitiveStackFactory.stg.
Since
4.0.

Method Summary

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

Same as empty().

public ImmutableIntStack
of(int one)

Same as with(int).

public ImmutableIntStack
of(int... items)

Same as with(int[]).

public ImmutableIntStack
public ImmutableIntStack
public ImmutableIntStack
public ImmutableIntStack
public ImmutableIntStack
with()

Same as empty().

public ImmutableIntStack
with(int one)

public ImmutableIntStack
with(int... items)

public ImmutableIntStack
public ImmutableIntStack
public ImmutableIntStack
public ImmutableIntStack

Method Detail

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

Same as empty().

ofback to summary
public ImmutableIntStack of(int one)

Same as with(int).

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

Same as with(int[]).

ofAllback to summary
public ImmutableIntStack ofAll(IntIterable items)

Same as withAll(IntIterable).

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

Same as withAll(Iterable).

ofAllback to summary
public ImmutableIntStack ofAll(IntStream items)
Since
9.0
ofAllReversedback to summary
public ImmutableIntStack ofAllReversed(IntIterable items)

Same as withAllReversed(IntIterable).

withback to summary
public ImmutableIntStack with()

Same as empty().

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