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 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(Iterable<Integer> iterable)
ImmutableIntList
ofAll(IntStream items)
ImmutableIntList
ofAll(IntIterable items)
static ImmutableIntListFactoryImpl
valueOf(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.ImmutableIntList
with()
Same asImmutableIntListFactory.empty()
.ImmutableIntList
with(int one)
ImmutableIntList
with(int... items)
ImmutableIntList
withAll(Iterable<Integer> iterable)
ImmutableIntList
withAll(IntStream items)
ImmutableIntList
withAll(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:
empty
in interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.empty()
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.empty()
.- Specified by:
with
in interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.with(int)
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
- Specified by:
with
in interfaceImmutableIntListFactory
-
of
Description copied from interface:ImmutableIntListFactory
Same asImmutableIntListFactory.with(int[])
.- Specified by:
of
in interfaceImmutableIntListFactory
-
with
- Specified by:
with
in interfaceImmutableIntListFactory
-
ofAll
Description copied from interface:ImmutableIntListFactory
- Specified by:
ofAll
in interfaceImmutableIntListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableIntListFactory
-
ofAll
Description copied from interface:ImmutableIntListFactory
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableIntListFactory
- Since:
- 9.0
-