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 MutableIntSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntSetempty()MutableIntSetof()MutableIntSetof(int... items)MutableIntSetofAll(Iterable<Integer> iterable)MutableIntSetofAll(IntStream items)MutableIntSetofAll(IntIterable items)MutableIntSetwith()MutableIntSetwith(int... items)MutableIntSetwithAll(Iterable<Integer> iterable)MutableIntSetwithAll(IntStream items)MutableIntSetwithAll(IntIterable items)MutableIntSetwithInitialCapacity(int capacity)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntSet empty()
- Specified by:
emptyin interfaceMutableIntSetFactory
-
of
public MutableIntSet of()
- Specified by:
ofin interfaceMutableIntSetFactory
-
with
public MutableIntSet with()
- Specified by:
within interfaceMutableIntSetFactory
-
withInitialCapacity
public MutableIntSet withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableIntSetFactory
-
of
public MutableIntSet of(int... items)
- Specified by:
ofin interfaceMutableIntSetFactory
-
with
public MutableIntSet with(int... items)
- Specified by:
within interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(IntIterable items)
- Specified by:
ofAllin interfaceMutableIntSetFactory
-
withAll
public MutableIntSet withAll(IntIterable items)
- Specified by:
withAllin interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
withAll
public MutableIntSet withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
ofAll
public MutableIntSet ofAll(IntStream items)
- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 9.0
-
withAll
public MutableIntSet withAll(IntStream items)
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 9.0
-
-