Class ImmutableIntSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableIntSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntSetFactory
public class ImmutableIntSetFactoryImpl extends Object implements ImmutableIntSetFactory
ImmutableIntSetFactoryImpl is a factory implementation which creates instances of typeImmutableIntSet. This file was automatically generated from template file immutablePrimitiveSetFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntSetempty()ImmutableIntSetof()ImmutableIntSetof(int one)ImmutableIntSetof(int... items)ImmutableIntSetofAll(Iterable<Integer> iterable)ImmutableIntSetofAll(IntStream items)ImmutableIntSetofAll(IntIterable items)ImmutableIntSetwith()ImmutableIntSetwith(int one)ImmutableIntSetwith(int... items)ImmutableIntSetwithAll(Iterable<Integer> iterable)ImmutableIntSetwithAll(IntStream items)ImmutableIntSetwithAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntSet empty()
- Specified by:
emptyin interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of()
- Specified by:
ofin interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with()
- Specified by:
within interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of(int one)
- Specified by:
ofin interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with(int one)
- Specified by:
within interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of(int... items)
- Specified by:
ofin interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with(int... items)
- Specified by:
within interfaceImmutableIntSetFactory
-
ofAll
public ImmutableIntSet ofAll(IntIterable items)
- Specified by:
ofAllin interfaceImmutableIntSetFactory
-
withAll
public ImmutableIntSet withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntSetFactory
-
ofAll
public ImmutableIntSet ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceImmutableIntSetFactory- Since:
- 10.0
-
withAll
public ImmutableIntSet withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntSetFactory- Since:
- 10.0
-
ofAll
public ImmutableIntSet ofAll(IntStream items)
- Specified by:
ofAllin interfaceImmutableIntSetFactory- Since:
- 9.0
-
withAll
public ImmutableIntSet withAll(IntStream items)
- Specified by:
withAllin interfaceImmutableIntSetFactory- Since:
- 9.0
-
-