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

public Interface ImmutableLongSetFactory

Imports
org.eclipse.collections.api.LongIterable, org.eclipse.collections.api.set.primitive.ImmutableLongSet, java.util.stream.LongStream

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

Method Summary

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

Same as empty().

public ImmutableLongSet
of(long one)

Same as with(long).

public ImmutableLongSet
of(long... items)

Same as with(long[]).

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

Same as withAll(Iterable).

public ImmutableLongSet
public ImmutableLongSet
with()

Same as empty().

public ImmutableLongSet
with(long one)

public ImmutableLongSet
with(long... items)

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

public ImmutableLongSet

Method Detail

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

Same as empty().

ofback to summary
public ImmutableLongSet of(long one)

Same as with(long).

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

Same as with(long[]).

ofAllback to summary
public ImmutableLongSet ofAll(LongIterable items)

Same as withAll(LongIterable).

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

Same as withAll(Iterable).

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

Same as empty().

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