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 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()
Same asMutableIntSetFactory.empty()
.MutableIntSet
of(int... items)
Same asMutableIntSetFactory.with(int[])
.MutableIntSet
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntSet
ofAll(java.util.stream.IntStream items)
MutableIntSet
ofAll(IntIterable items)
MutableIntSet
with()
Same asMutableIntSetFactory.empty()
.MutableIntSet
with(int... items)
MutableIntSet
withAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntSet
withAll(java.util.stream.IntStream items)
MutableIntSet
withAll(IntIterable items)
MutableIntSet
withInitialCapacity(int capacity)
Same asMutableIntSetFactory.empty()
.
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntSetFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntSet empty()
- Specified by:
empty
in interfaceMutableIntSetFactory
-
of
public MutableIntSet of()
Description copied from interface:MutableIntSetFactory
Same asMutableIntSetFactory.empty()
.- Specified by:
of
in interfaceMutableIntSetFactory
-
with
public MutableIntSet with()
Description copied from interface:MutableIntSetFactory
Same asMutableIntSetFactory.empty()
.- Specified by:
with
in interfaceMutableIntSetFactory
-
withInitialCapacity
public MutableIntSet withInitialCapacity(int capacity)
Description copied from interface:MutableIntSetFactory
Same asMutableIntSetFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableIntSetFactory
-
of
public MutableIntSet of(int... items)
Description copied from interface:MutableIntSetFactory
Same asMutableIntSetFactory.with(int[])
.- Specified by:
of
in interfaceMutableIntSetFactory
-
with
public MutableIntSet with(int... items)
- Specified by:
with
in interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(IntIterable items)
Description copied from interface:MutableIntSetFactory
- Specified by:
ofAll
in interfaceMutableIntSetFactory
-
withAll
public MutableIntSet withAll(IntIterable items)
- Specified by:
withAll
in interfaceMutableIntSetFactory
-
ofAll
public MutableIntSet ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:MutableIntSetFactory
- Specified by:
ofAll
in interfaceMutableIntSetFactory
- Since:
- 10.0
-
withAll
public MutableIntSet withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAll
in interfaceMutableIntSetFactory
- Since:
- 10.0
-
ofAll
public MutableIntSet ofAll(java.util.stream.IntStream items)
- Specified by:
ofAll
in interfaceMutableIntSetFactory
- Since:
- 9.0
-
withAll
public MutableIntSet withAll(java.util.stream.IntStream items)
- Specified by:
withAll
in interfaceMutableIntSetFactory
- Since:
- 9.0
-
-