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
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asImmutableIntListFactory.empty()
.of
(int one) Same asImmutableIntListFactory.with(int)
.of
(int... items) Same asImmutableIntListFactory.with(int[])
.ofAll
(IntIterable items) static ImmutableIntListFactoryImpl
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.with()
Same asImmutableIntListFactory.empty()
.with
(int one) with
(int... items) withAll
(IntIterable items) Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
INSTANCE
-
-
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
-