Class ImmutableIntSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.immutable.primitive.ImmutableIntSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntSetFactory
public class ImmutableIntSetFactoryImpl extends java.lang.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 ImmutableIntSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntSet
empty()
ImmutableIntSet
of()
Same asImmutableIntSetFactory.empty()
.ImmutableIntSet
of(int one)
Same asImmutableIntSetFactory.with(int)
.ImmutableIntSet
of(int... items)
Same asImmutableIntSetFactory.with(int[])
.ImmutableIntSet
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntSet
ofAll(java.util.stream.IntStream items)
ImmutableIntSet
ofAll(IntIterable items)
ImmutableIntSet
with()
Same asImmutableIntSetFactory.empty()
.ImmutableIntSet
with(int one)
ImmutableIntSet
with(int... items)
ImmutableIntSet
withAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntSet
withAll(java.util.stream.IntStream items)
ImmutableIntSet
withAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntSet empty()
- Specified by:
empty
in interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of()
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.empty()
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with()
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.empty()
.- Specified by:
with
in interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of(int one)
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.with(int)
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with(int one)
- Specified by:
with
in interfaceImmutableIntSetFactory
-
of
public ImmutableIntSet of(int... items)
Description copied from interface:ImmutableIntSetFactory
Same asImmutableIntSetFactory.with(int[])
.- Specified by:
of
in interfaceImmutableIntSetFactory
-
with
public ImmutableIntSet with(int... items)
- Specified by:
with
in interfaceImmutableIntSetFactory
-
ofAll
public ImmutableIntSet ofAll(IntIterable items)
Description copied from interface:ImmutableIntSetFactory
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
-
withAll
public ImmutableIntSet withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntSetFactory
-
ofAll
public ImmutableIntSet ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:ImmutableIntSetFactory
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
- Since:
- 10.0
-
withAll
public ImmutableIntSet withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntSetFactory
- Since:
- 10.0
-
ofAll
public ImmutableIntSet ofAll(java.util.stream.IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntSetFactory
- Since:
- 9.0
-
withAll
public ImmutableIntSet withAll(java.util.stream.IntStream items)
- Specified by:
withAll
in interfaceImmutableIntSetFactory
- Since:
- 9.0
-
-