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

public Interface ImmutableIntSetFactory

Imports
org.eclipse.collections.api.IntIterable, org.eclipse.collections.api.set.primitive.ImmutableIntSet, java.util.stream.IntStream

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

Method Summary

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

Same as empty().

public ImmutableIntSet
of(int one)

Same as with(int).

public ImmutableIntSet
of(int... items)

Same as with(int[]).

public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet
with()

Same as empty().

public ImmutableIntSet
with(int one)

public ImmutableIntSet
with(int... items)

public ImmutableIntSet
public ImmutableIntSet
public ImmutableIntSet

Method Detail

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

Same as empty().

ofback to summary
public ImmutableIntSet of(int one)

Same as with(int).

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

Same as with(int[]).

ofAllback to summary
public ImmutableIntSet ofAll(IntIterable items)

Same as withAll(IntIterable).

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

Same as withAll(Iterable).

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

Same as empty().

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