Class MutableIntBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.MutableIntBagFactoryImpl
-
- All Implemented Interfaces:
MutableIntBagFactory
public class MutableIntBagFactoryImpl extends java.lang.Object implements MutableIntBagFactory
MutableIntBagFactoryImpl is a factory implementation which creates instances of typeMutableIntBag
. This file was automatically generated from template file mutablePrimitiveBagFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableIntBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntBag
empty()
MutableIntBag
of()
Same asMutableIntBagFactory.empty()
.MutableIntBag
of(int... items)
Same asMutableIntBagFactory.with(int[])
.MutableIntBag
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntBag
ofAll(java.util.stream.IntStream items)
MutableIntBag
ofAll(IntIterable items)
MutableIntBag
with()
Same asMutableIntBagFactory.empty()
.MutableIntBag
with(int... items)
MutableIntBag
withAll(java.lang.Iterable<java.lang.Integer> iterable)
MutableIntBag
withAll(java.util.stream.IntStream items)
MutableIntBag
withAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntBagFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntBag empty()
- Specified by:
empty
in interfaceMutableIntBagFactory
-
of
public MutableIntBag of()
Description copied from interface:MutableIntBagFactory
Same asMutableIntBagFactory.empty()
.- Specified by:
of
in interfaceMutableIntBagFactory
-
with
public MutableIntBag with()
Description copied from interface:MutableIntBagFactory
Same asMutableIntBagFactory.empty()
.- Specified by:
with
in interfaceMutableIntBagFactory
-
of
public MutableIntBag of(int... items)
Description copied from interface:MutableIntBagFactory
Same asMutableIntBagFactory.with(int[])
.- Specified by:
of
in interfaceMutableIntBagFactory
-
with
public MutableIntBag with(int... items)
- Specified by:
with
in interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(IntIterable items)
Description copied from interface:MutableIntBagFactory
- Specified by:
ofAll
in interfaceMutableIntBagFactory
-
withAll
public MutableIntBag withAll(IntIterable items)
- Specified by:
withAll
in interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:MutableIntBagFactory
- Specified by:
ofAll
in interfaceMutableIntBagFactory
- Since:
- 10.0
-
withAll
public MutableIntBag withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAll
in interfaceMutableIntBagFactory
- Since:
- 10.0
-
ofAll
public MutableIntBag ofAll(java.util.stream.IntStream items)
- Specified by:
ofAll
in interfaceMutableIntBagFactory
- Since:
- 9.0
-
withAll
public MutableIntBag withAll(java.util.stream.IntStream items)
- Specified by:
withAll
in interfaceMutableIntBagFactory
- Since:
- 9.0
-
-