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

public Interface ImmutableLongListFactory

Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.list.primitive.ImmutableLongList, java.util.stream.LongStream

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

Method Summary

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

Same as empty().

public ImmutableLongList
of(long one)

Same as with(long).

public ImmutableLongList
of(long... items)

Same as with(long[]).

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

Same as withAll(Iterable).

public ImmutableLongList
public ImmutableLongList
with()

Same as empty().

public ImmutableLongList
with(long one)

public ImmutableLongList
with(long... items)

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

public ImmutableLongList

Method Detail

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

Same as empty().

ofback to summary
public ImmutableLongList of(long one)

Same as with(long).

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

Same as with(long[]).

ofAllback to summary
public ImmutableLongList ofAll(LongIterable items)

Same as withAll(LongIterable).

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

Same as withAll(Iterable).

ofAllback to summary
public ImmutableLongList ofAll(LongStream items)
Since
9.0
withback to summary
public ImmutableLongList with()

Same as empty().

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