Class ImmutableIntBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableIntBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntBagFactory
public class ImmutableIntBagFactoryImpl extends java.lang.Object implements ImmutableIntBagFactory
ImmutableIntBagFactoryImpl is a factory implementation which creates instances of typeImmutableIntBag. This file was automatically generated from template file immutablePrimitiveBagFactoryImpl.stg.- Since:
- 4.0.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntBagFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntBagempty()ImmutableIntBagof()Same asImmutableIntBagFactory.empty().ImmutableIntBagof(int one)Same asImmutableIntBagFactory.with(int).ImmutableIntBagof(int... items)Same asImmutableIntBagFactory.with(int[]).ImmutableIntBagofAll(java.lang.Iterable<java.lang.Integer> iterable)ImmutableIntBagofAll(java.util.stream.IntStream items)ImmutableIntBagofAll(IntIterable items)ImmutableIntBagwith()Same asImmutableIntBagFactory.empty().ImmutableIntBagwith(int one)ImmutableIntBagwith(int... items)ImmutableIntBagwithAll(java.lang.Iterable<java.lang.Integer> iterable)ImmutableIntBagwithAll(java.util.stream.IntStream items)ImmutableIntBagwithAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntBag empty()
- Specified by:
emptyin interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of()
Description copied from interface:ImmutableIntBagFactorySame asImmutableIntBagFactory.empty().- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with()
Description copied from interface:ImmutableIntBagFactorySame asImmutableIntBagFactory.empty().- Specified by:
within interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int one)
Description copied from interface:ImmutableIntBagFactorySame asImmutableIntBagFactory.with(int).- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int one)
- Specified by:
within interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int... items)
Description copied from interface:ImmutableIntBagFactorySame asImmutableIntBagFactory.with(int[]).- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int... items)
- Specified by:
within interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(IntIterable items)
Description copied from interface:ImmutableIntBagFactory- Specified by:
ofAllin interfaceImmutableIntBagFactory
-
withAll
public ImmutableIntBag withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:ImmutableIntBagFactory- Specified by:
ofAllin interfaceImmutableIntBagFactory- Since:
- 10.0
-
withAll
public ImmutableIntBag withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntBagFactory- Since:
- 10.0
-
ofAll
public ImmutableIntBag ofAll(java.util.stream.IntStream items)
- Specified by:
ofAllin interfaceImmutableIntBagFactory- Since:
- 9.0
-
withAll
public ImmutableIntBag withAll(java.util.stream.IntStream items)
- Specified by:
withAllin interfaceImmutableIntBagFactory- Since:
- 9.0
-
-