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 ImmutableIntBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntBag
empty()
ImmutableIntBag
of()
ImmutableIntBag
of(int one)
ImmutableIntBag
of(int... items)
ImmutableIntBag
ofAll(Iterable<Integer> iterable)
ImmutableIntBag
ofAll(IntStream items)
ImmutableIntBag
ofAll(IntIterable items)
ImmutableIntBag
with()
ImmutableIntBag
with(int one)
ImmutableIntBag
with(int... items)
ImmutableIntBag
withAll(Iterable<Integer> iterable)
ImmutableIntBag
withAll(IntStream items)
ImmutableIntBag
withAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntBagFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntBag empty()
- Specified by:
empty
in interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of()
- Specified by:
of
in interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with()
- Specified by:
with
in interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int one)
- Specified by:
of
in interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int one)
- Specified by:
with
in interfaceImmutableIntBagFactory
-
of
public ImmutableIntBag of(int... items)
- Specified by:
of
in interfaceImmutableIntBagFactory
-
with
public ImmutableIntBag with(int... items)
- Specified by:
with
in interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(IntIterable items)
- Specified by:
ofAll
in interfaceImmutableIntBagFactory
-
withAll
public ImmutableIntBag withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntBagFactory
-
ofAll
public ImmutableIntBag ofAll(Iterable<Integer> iterable)
- Specified by:
ofAll
in interfaceImmutableIntBagFactory
- Since:
- 10.0
-
withAll
public ImmutableIntBag withAll(Iterable<Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntBagFactory
- Since:
- 10.0
-
ofAll
public ImmutableIntBag ofAll(IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntBagFactory
- Since:
- 9.0
-
withAll
public ImmutableIntBag withAll(IntStream items)
- Specified by:
withAll
in interfaceImmutableIntBagFactory
- Since:
- 9.0
-
-