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 ImmutableIntListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableIntListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImmutableIntListempty()ImmutableIntListof()ImmutableIntListof(int one)ImmutableIntListof(int... items)ImmutableIntListofAll(Iterable<Integer> iterable)ImmutableIntListofAll(IntStream items)ImmutableIntListofAll(IntIterable items)ImmutableIntListwith()ImmutableIntListwith(int one)ImmutableIntListwith(int... items)ImmutableIntListwithAll(Iterable<Integer> iterable)ImmutableIntListwithAll(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()
- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with()
- Specified by:
within interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int one)
- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int one)
- Specified by:
within interfaceImmutableIntListFactory
-
of
public ImmutableIntList of(int... items)
- Specified by:
ofin interfaceImmutableIntListFactory
-
with
public ImmutableIntList with(int... items)
- Specified by:
within interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(IntIterable items)
- Specified by:
ofAllin interfaceImmutableIntListFactory
-
withAll
public ImmutableIntList withAll(IntIterable items)
- Specified by:
withAllin interfaceImmutableIntListFactory
-
ofAll
public ImmutableIntList ofAll(Iterable<Integer> iterable)
- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
withAll
public ImmutableIntList withAll(Iterable<Integer> iterable)
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
ofAll
public ImmutableIntList ofAll(IntStream items)
- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 9.0
-
withAll
public ImmutableIntList withAll(IntStream items)
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 9.0
-
-