Class ImmutableIntBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.immutable.primitive.ImmutableIntBagFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntBagFactory
public class ImmutableIntBagFactoryImpl extends 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()ImmutableIntBagof(int one)ImmutableIntBagof(int... items)ImmutableIntBagofAll(Iterable<Integer> iterable)ImmutableIntBagofAll(IntStream items)ImmutableIntBagofAll(IntIterable items)ImmutableIntBagwith()ImmutableIntBagwith(int one)ImmutableIntBagwith(int... items)ImmutableIntBagwithAll(Iterable<Integer> iterable)ImmutableIntBagwithAll(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()
- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with()
- Specified by:
within interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int one)
- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int one)
- Specified by:
within interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int... items)
- Specified by:
ofin interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int... items)
- Specified by:
within interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(IntIterable items)
- Specified by:
ofAllin interfaceImmutableIntBagFactory
-
withAll
public ImmutableIntBag withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceImmutableIntBagFactory- Since:
- 10.0
-
withAll
public ImmutableIntBag withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntBagFactory- Since:
- 10.0
-
ofAll
public ImmutableIntBag ofAll(IntStream items)
- Specified by:
ofAllin interfaceImmutableIntBagFactory- Since:
- 9.0
-
withAll
public ImmutableIntBag withAll(IntStream items)
- Specified by:
withAllin interfaceImmutableIntBagFactory- Since:
- 9.0
-
-