Enum ImmutableIntListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableIntListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableIntListFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<ImmutableIntListFactoryImpl>,java.lang.constant.Constable,ImmutableIntListFactory
public enum ImmutableIntListFactoryImpl extends Enum<ImmutableIntListFactoryImpl> implements ImmutableIntListFactory
ImmutableIntListFactoryImpl is a factory implementation which creates instances of type
ImmutableIntList.
This file was automatically generated from template file immutablePrimitiveListFactoryImpl.stg.- Since:
- 3.2.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
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(Iterable<Integer> iterable)ImmutableIntListofAll(IntStream items)ImmutableIntListofAll(IntIterable items)static ImmutableIntListFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static ImmutableIntListFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.ImmutableIntListwith()Same asImmutableIntListFactory.empty().ImmutableIntListwith(int one)ImmutableIntListwith(int... items)ImmutableIntListwithAll(Iterable<Integer> iterable)ImmutableIntListwithAll(IntStream items)ImmutableIntListwithAll(IntIterable items)Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
empty
- Specified by:
emptyin interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.empty().- Specified by:
ofin interfaceImmutableIntListFactory
-
with
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.empty().- Specified by:
within interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.with(int).- Specified by:
ofin interfaceImmutableIntListFactory
-
with
- Specified by:
within interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactorySame asImmutableIntListFactory.with(int[]).- Specified by:
ofin interfaceImmutableIntListFactory
-
with
- Specified by:
within interfaceImmutableIntListFactory
-
ofAll
Description copied from interface:ImmutableIntListFactory- Specified by:
ofAllin interfaceImmutableIntListFactory
-
withAll
- Specified by:
withAllin interfaceImmutableIntListFactory
-
ofAll
Description copied from interface:ImmutableIntListFactory- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceImmutableIntListFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceImmutableIntListFactory- Since:
- 9.0
-