Class MutableIntSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.mutable.primitive.MutableIntSetFactoryImpl
-
- All Implemented Interfaces:
MutableIntSetFactory
public class MutableIntSetFactoryImpl extends java.lang.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()Same asMutableIntSetFactory.empty().MutableIntSetof(int... items)Same asMutableIntSetFactory.with(int[]).MutableIntSetofAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntSetofAll(java.util.stream.IntStream items)MutableIntSetofAll(IntIterable items)MutableIntSetwith()Same asMutableIntSetFactory.empty().MutableIntSetwith(int... items)MutableIntSetwithAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntSetwithAll(java.util.stream.IntStream items)MutableIntSetwithAll(IntIterable items)MutableIntSetwithInitialCapacity(int capacity)Same asMutableIntSetFactory.empty().
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntSet empty()
- Specified by:
emptyin interfaceMutableIntSetFactory
-
of
public MutableIntSet of()
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty().- Specified by:
ofin interfaceMutableIntSetFactory
-
with
public MutableIntSet with()
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty().- Specified by:
within interfaceMutableIntSetFactory
-
withInitialCapacity
public MutableIntSet withInitialCapacity(int capacity)
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableIntSetFactory
-
of
public MutableIntSet of(int... items)
Description copied from interface:MutableIntSetFactorySame asMutableIntSetFactory.with(int[]).- Specified by:
ofin interfaceMutableIntSetFactory
-
with
public MutableIntSet with(int... items)
- Specified by:
within interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(IntIterable items)
Description copied from interface:MutableIntSetFactory- Specified by:
ofAllin interfaceMutableIntSetFactory
-
withAll
public MutableIntSet withAll(IntIterable items)
- Specified by:
withAllin interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:MutableIntSetFactory- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
withAll
public MutableIntSet withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 10.0
-
ofAll
public MutableIntSet ofAll(java.util.stream.IntStream items)
- Specified by:
ofAllin interfaceMutableIntSetFactory- Since:
- 9.0
-
withAll
public MutableIntSet withAll(java.util.stream.IntStream items)
- Specified by:
withAllin interfaceMutableIntSetFactory- Since:
- 9.0
-
-