Class ImmutableIntListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.primitive.ImmutableIntListFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntListFactory
public class ImmutableIntListFactoryImpl extends Object implements ImmutableIntListFactory
ImmutableIntListFactoryImpl is a factory implementation which creates instances of typeImmutableIntList
. This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableIntListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntList
empty()
ImmutableIntList
of()
ImmutableIntList
of(int one)
ImmutableIntList
of(int... items)
ImmutableIntList
ofAll(Iterable<Integer> iterable)
ImmutableIntList
ofAll(IntStream items)
ImmutableIntList
ofAll(IntIterable items)
ImmutableIntList
with()
ImmutableIntList
with(int one)
ImmutableIntList
with(int... items)
ImmutableIntList
withAll(Iterable<Integer> iterable)
ImmutableIntList
withAll(IntStream items)
ImmutableIntList
withAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntListFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntList empty()
- Specified by:
empty
in interfaceImmutableIntListFactory
-
of
public ImmutableIntList of()
- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with()
- Specified by:
with
in interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int one)
- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int one)
- Specified by:
with
in interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int... items)
- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int... items)
- Specified by:
with
in interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(IntIterable items)
- Specified by:
ofAll
in interfaceImmutableIntListFactory
-
withAll
public ImmutableIntList withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(Iterable<Integer> iterable)
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
withAll
public ImmutableIntList withAll(Iterable<Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
ofAll
public ImmutableIntList ofAll(IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-
withAll
public ImmutableIntList withAll(IntStream items)
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-
-