Class MutableIntBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.mutable.primitive.MutableIntBagFactoryImpl
-
- All Implemented Interfaces:
MutableIntBagFactory
public class MutableIntBagFactoryImpl extends 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 MutableIntBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntBagempty()MutableIntBagof()MutableIntBagof(int... items)MutableIntBagofAll(Iterable<Integer> iterable)MutableIntBagofAll(IntStream items)MutableIntBagofAll(IntIterable items)MutableIntBagwith()MutableIntBagwith(int... items)MutableIntBagwithAll(Iterable<Integer> iterable)MutableIntBagwithAll(IntStream items)MutableIntBagwithAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableIntBagFactory INSTANCE
-
-
Method Detail
-
empty
public MutableIntBag empty()
- Specified by:
emptyin interfaceMutableIntBagFactory
-
of
public MutableIntBag of()
- Specified by:
ofin interfaceMutableIntBagFactory
-
with
public MutableIntBag with()
- Specified by:
within interfaceMutableIntBagFactory
-
of
public MutableIntBag of(int... items)
- Specified by:
ofin interfaceMutableIntBagFactory
-
with
public MutableIntBag with(int... items)
- Specified by:
within interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(IntIterable items)
- Specified by:
ofAllin interfaceMutableIntBagFactory
-
withAll
public MutableIntBag withAll(IntIterable items)
- Specified by:
withAllin interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceMutableIntBagFactory- Since:
- 10.0
-
withAll
public MutableIntBag withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceMutableIntBagFactory- Since:
- 10.0
-
ofAll
public MutableIntBag ofAll(IntStream items)
- Specified by:
ofAllin interfaceMutableIntBagFactory- Since:
- 9.0
-
withAll
public MutableIntBag withAll(IntStream items)
- Specified by:
withAllin interfaceMutableIntBagFactory- Since:
- 9.0
-
-