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

public Interface ImmutableLongStackFactory

Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.stack.primitive.ImmutableLongStack, java.util.stream.LongStream

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

Method Summary

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

Same as empty().

public ImmutableLongStack
of(long one)

Same as with(long).

public ImmutableLongStack
of(long... items)

Same as with(long[]).

public ImmutableLongStack
public ImmutableLongStack
ofAll(Iterable<Long> iterable)

Same as withAll(Iterable).

public ImmutableLongStack
public ImmutableLongStack
public ImmutableLongStack
with()

Same as empty().

public ImmutableLongStack
with(long one)

public ImmutableLongStack
with(long... items)

public ImmutableLongStack
public ImmutableLongStack
withAll(Iterable<Long> iterable)

public ImmutableLongStack
public ImmutableLongStack

Method Detail

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

Same as empty().

ofback to summary
public ImmutableLongStack of(long one)

Same as with(long).

ofback to summary
public ImmutableLongStack of(long... items)

Same as with(long[]).

ofAllback to summary
public ImmutableLongStack ofAll(LongIterable items)

Same as withAll(LongIterable).

ofAllback to summary
public ImmutableLongStack ofAll(Iterable<Long> iterable)

Same as withAll(Iterable).

ofAllback to summary
public ImmutableLongStack ofAll(LongStream items)
Since
9.0
ofAllReversedback to summary
public ImmutableLongStack ofAllReversed(LongIterable items)

Same as withAllReversed(LongIterable).

withback to summary
public ImmutableLongStack with()

Same as empty().

withback to summary
public ImmutableLongStack with(long one)
withback to summary
public ImmutableLongStack with(long... items)
withAllback to summary
public ImmutableLongStack withAll(LongIterable items)
withAllback to summary
public ImmutableLongStack withAll(Iterable<Long> iterable)
withAllback to summary
public ImmutableLongStack withAll(LongStream items)
Since
9.0
withAllReversedback to summary
public ImmutableLongStack withAllReversed(LongIterable items)