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 ImmutableIntListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntListempty()ImmutableIntListof()Same asImmutableIntListFactory.empty().ImmutableIntListof(int one)Same asImmutableIntListFactory.with(int).ImmutableIntListof(int... items)Same asImmutableIntListFactory.with(int[]).ImmutableIntListofAll(java.lang.Iterable<java.lang.Integer> iterable)ImmutableIntListofAll(java.util.stream.IntStream items)ImmutableIntListofAll(IntIterable items)ImmutableIntListwith()Same asImmutableIntListFactory.empty().ImmutableIntListwith(int one)ImmutableIntListwith(int... items)ImmutableIntListwithAll(java.lang.Iterable<java.lang.Integer> iterable)ImmutableIntListwithAll(java.util.stream.IntStream items)ImmutableIntListwithAll(IntIterable items)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableIntListFactory INSTANCE
-
-
Method Detail
-
empty
public ImmutableIntList empty()
- Specified by:
emptyin interfaceImmutableIntListFactory
-
of
public ImmutableIntList of()
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.empty().- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with()
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.empty().- Specified by:
within interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int one)
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.with(int).- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int one)
- Specified by:
within interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int... items)
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.with(int[]).- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int... items)
- Specified by:
within interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(IntIterable items)
Description copied from interface:ImmutableIntListFactory- Specified by:
ofAllin interfaceImmutableIntListFactory
-
withAll
public ImmutableIntList withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(java.lang.Iterable<java.lang.Integer> iterable)
Description copied from interface:ImmutableIntListFactory- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
withAll
public ImmutableIntList withAll(java.lang.Iterable<java.lang.Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
ofAll
public ImmutableIntList ofAll(java.util.stream.IntStream items)
- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 9.0
-
withAll
public ImmutableIntList withAll(java.util.stream.IntStream items)
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 9.0
-
-