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 MutableIntBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableIntBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableIntBagempty()MutableIntBagof()Same asMutableIntBagFactory.empty().MutableIntBagof(int... items)Same asMutableIntBagFactory.with(int[]).MutableIntBagofAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntBagofAll(java.util.stream.IntStream items)MutableIntBagofAll(IntIterable items)MutableIntBagwith()Same asMutableIntBagFactory.empty().MutableIntBagwith(int... items)MutableIntBagwithAll(java.lang.Iterable<java.lang.Integer> iterable)MutableIntBagwithAll(java.util.stream.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()
Description copied from interface:MutableIntBagFactorySame asMutableIntBagFactory.empty().- Specified by:
ofin interfaceMutableIntBagFactory
-
with
public MutableIntBag with()
Description copied from interface:MutableIntBagFactorySame asMutableIntBagFactory.empty().- Specified by:
within interfaceMutableIntBagFactory
-
of
public MutableIntBag of(int... items)
Description copied from interface:MutableIntBagFactorySame asMutableIntBagFactory.with(int[]).- Specified by:
ofin interfaceMutableIntBagFactory
-
with
public MutableIntBag with(int... items)
- Specified by:
within interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(IntIterable items)
Description copied from interface:MutableIntBagFactory- Specified by:
ofAllin interfaceMutableIntBagFactory
-
withAll
public MutableIntBag withAll(IntIterable items)
- Specified by:
withAllin interfaceMutableIntBagFactory
-
ofAll
public MutableIntBag ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:MutableIntBagFactory- Specified by:
ofAllin interfaceMutableIntBagFactory- Since:
- 10.0
-
withAll
public MutableIntBag withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAllin interfaceMutableIntBagFactory- Since:
- 10.0
-
ofAll
public MutableIntBag ofAll(java.util.stream.IntStream items)
- Specified by:
ofAllin interfaceMutableIntBagFactory- Since:
- 9.0
-
withAll
public MutableIntBag withAll(java.util.stream.IntStream items)
- Specified by:
withAllin interfaceMutableIntBagFactory- Since:
- 9.0
-
-