Class MutableIntSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableIntSetFactoryImpl
-
- All Implemented Interfaces:
MutableIntSetFactory
public class MutableIntSetFactoryImpl extends Object implements MutableIntSetFactory
MutableIntSetFactoryImpl is a factory implementation which creates instances of typeMutableIntSet
. This file was automatically generated from template file mutablePrimitiveSetFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntSet
empty()
MutableIntSet
of()
MutableIntSet
of(int... items)
MutableIntSet
ofAll(Iterable<Integer> iterable)
MutableIntSet
ofAll(IntStream items)
MutableIntSet
ofAll(IntIterable items)
MutableIntSet
with()
MutableIntSet
with(int... items)
MutableIntSet
withAll(Iterable<Integer> iterable)
MutableIntSet
withAll(IntStream items)
MutableIntSet
withAll(IntIterable items)
MutableIntSet
withInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntSet empty()
- Specified by:
empty
in interfaceMutableIntSetFactory
-
of
public MutableIntSet of()
- Specified by:
of
in interfaceMutableIntSetFactory
-
with
public MutableIntSet with()
- Specified by:
with
in interfaceMutableIntSetFactory
-
withInitialCapacity
public MutableIntSet withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableIntSetFactory
-
of
public MutableIntSet of(int... items)
- Specified by:
of
in interfaceMutableIntSetFactory
-
with
public MutableIntSet with(int... items)
- Specified by:
with
in interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(IntIterable items)
- Specified by:
ofAll
in interfaceMutableIntSetFactory
-
withAll
public MutableIntSet withAll(IntIterable items)
- Specified by:
withAll
in interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(Iterable<Integer> iterable)
- Specified by:
ofAll
in interfaceMutableIntSetFactory
- Since:
- 10.0
-
withAll
public MutableIntSet withAll(Iterable<Integer> iterable)
- Specified by:
withAll
in interfaceMutableIntSetFactory
- Since:
- 10.0
-
ofAll
public MutableIntSet ofAll(IntStream items)
- Specified by:
ofAll
in interfaceMutableIntSetFactory
- Since:
- 9.0
-
withAll
public MutableIntSet withAll(IntStream items)
- Specified by:
withAll
in interfaceMutableIntSetFactory
- Since:
- 9.0
-
-