Class ImmutableIntListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.immutable.primitive.ImmutableIntListFactoryImpl
-
- All Implemented Interfaces:
ImmutableIntListFactory
public class ImmutableIntListFactoryImpl extends java.lang.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()
Same asImmutableIntListFactory.empty()
.ImmutableIntList
of(int one)
Same asImmutableIntListFactory.with(int)
.ImmutableIntList
of(int... items)
Same asImmutableIntListFactory.with(int[])
.ImmutableIntList
ofAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntList
ofAll(java.util.stream.IntStream items)
ImmutableIntList
ofAll(IntIterable items)
ImmutableIntList
with()
Same asImmutableIntListFactory.empty()
.ImmutableIntList
with(int one)
ImmutableIntList
with(int... items)
ImmutableIntList
withAll(java.lang.Iterable<java.lang.Integer> iterable)
ImmutableIntList
withAll(java.util.stream.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()
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.empty()
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with()
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.empty()
.- Specified by:
with
in interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int one)
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.with(int)
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int one)
- Specified by:
with
in interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int... items)
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.with(int[])
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int... items)
- Specified by:
with
in interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(IntIterable items)
Description copied from interface:ImmutableIntListFactory
- Specified by:
ofAll
in interfaceImmutableIntListFactory
-
withAll
public ImmutableIntList withAll(IntIterable items)
- Specified by:
withAll
in interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:ImmutableIntListFactory
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
withAll
public ImmutableIntList withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
ofAll
public ImmutableIntList ofAll(java.util.stream.IntStream items)
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-
withAll
public ImmutableIntList withAll(java.util.stream.IntStream items)
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-
-