Enum ImmutableDoubleListFactoryImpl
java.lang.Object
java.lang.Enum<ImmutableDoubleListFactoryImpl>
org.eclipse.collections.impl.list.immutable.primitive.ImmutableDoubleListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<ImmutableDoubleListFactoryImpl>
,java.lang.constant.Constable
,ImmutableDoubleListFactory
public enum ImmutableDoubleListFactoryImpl extends Enum<ImmutableDoubleListFactoryImpl> implements ImmutableDoubleListFactory
ImmutableDoubleListFactoryImpl is a factory implementation which creates instances of type
ImmutableDoubleList
.
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 ImmutableDoubleList
empty()
ImmutableDoubleList
of()
Same asImmutableDoubleListFactory.empty()
.ImmutableDoubleList
of(double one)
ImmutableDoubleList
of(double... items)
ImmutableDoubleList
ofAll(Iterable<Double> iterable)
ImmutableDoubleList
ofAll(DoubleStream items)
ImmutableDoubleList
ofAll(DoubleIterable items)
static ImmutableDoubleListFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImmutableDoubleListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.ImmutableDoubleList
with()
Same asImmutableDoubleListFactory.empty()
.ImmutableDoubleList
with(double one)
ImmutableDoubleList
with(double... items)
ImmutableDoubleList
withAll(Iterable<Double> iterable)
ImmutableDoubleList
withAll(DoubleStream items)
ImmutableDoubleList
withAll(DoubleIterable 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 interfaceImmutableDoubleListFactory
-
of
Description copied from interface:ImmutableDoubleListFactory
Same asImmutableDoubleListFactory.empty()
.- Specified by:
of
in interfaceImmutableDoubleListFactory
-
with
Description copied from interface:ImmutableDoubleListFactory
Same asImmutableDoubleListFactory.empty()
.- Specified by:
with
in interfaceImmutableDoubleListFactory
-
of
Description copied from interface:ImmutableDoubleListFactory
- Specified by:
of
in interfaceImmutableDoubleListFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleListFactory
-
of
Description copied from interface:ImmutableDoubleListFactory
- Specified by:
of
in interfaceImmutableDoubleListFactory
-
with
- Specified by:
with
in interfaceImmutableDoubleListFactory
-
ofAll
Description copied from interface:ImmutableDoubleListFactory
- Specified by:
ofAll
in interfaceImmutableDoubleListFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleListFactory
-
ofAll
Description copied from interface:ImmutableDoubleListFactory
- Specified by:
ofAll
in interfaceImmutableDoubleListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleListFactory
- Since:
- 10.0
-
ofAll
- Specified by:
ofAll
in interfaceImmutableDoubleListFactory
- Since:
- 9.0
-
withAll
- Specified by:
withAll
in interfaceImmutableDoubleListFactory
- Since:
- 9.0
-