Enum MutableDoubleListFactoryImpl
java.lang.Object
java.lang.Enum<MutableDoubleListFactoryImpl>
org.eclipse.collections.impl.list.mutable.primitive.MutableDoubleListFactoryImpl
- All Implemented Interfaces:
Serializable,Comparable<MutableDoubleListFactoryImpl>,java.lang.constant.Constable,MutableDoubleListFactory
public enum MutableDoubleListFactoryImpl extends Enum<MutableDoubleListFactoryImpl> implements MutableDoubleListFactory
MutableDoubleListFactoryImpl is a factory implementation which creates instances of type
MutableDoubleList.
This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE -
Method Summary
Modifier and Type Method Description MutableDoubleListempty()MutableDoubleListof()Same asMutableDoubleListFactory.empty().MutableDoubleListof(double... items)MutableDoubleListofAll(Iterable<Double> iterable)MutableDoubleListofAll(DoubleStream items)MutableDoubleListofAll(DoubleIterable items)static MutableDoubleListFactoryImplvalueOf(String name)Returns the enum constant of this type with the specified name.static MutableDoubleListFactoryImpl[]values()Returns an array containing the constants of this enum type, in the order they are declared.MutableDoubleListwith()Same asMutableDoubleListFactory.empty().MutableDoubleListwith(double... items)Creates a new list using the passeditemsargument as the backing store.MutableDoubleListwithAll(Iterable<Double> iterable)MutableDoubleListwithAll(DoubleStream items)MutableDoubleListwithAll(DoubleIterable items)MutableDoubleListwithInitialCapacity(int capacity)Same asMutableDoubleListFactory.empty().Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableDoubleListFactory
wrapCopy
-
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 interfaceMutableDoubleListFactory
-
of
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty().- Specified by:
ofin interfaceMutableDoubleListFactory
-
with
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty().- Specified by:
within interfaceMutableDoubleListFactory
-
withInitialCapacity
Description copied from interface:MutableDoubleListFactorySame asMutableDoubleListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableDoubleListFactory
-
of
Description copied from interface:MutableDoubleListFactory- Specified by:
ofin interfaceMutableDoubleListFactory
-
with
Creates a new list using the passeditemsargument as the backing store.!!! WARNING: This method uses the passed in array, so can be very unsafe if the original array is held onto anywhere else. !!!
- Specified by:
within interfaceMutableDoubleListFactory
-
ofAll
Description copied from interface:MutableDoubleListFactory- Specified by:
ofAllin interfaceMutableDoubleListFactory
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory
-
ofAll
Description copied from interface:MutableDoubleListFactory- Specified by:
ofAllin interfaceMutableDoubleListFactory- Since:
- 10.0
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory- Since:
- 10.0
-
ofAll
- Specified by:
ofAllin interfaceMutableDoubleListFactory- Since:
- 9.0
-
withAll
- Specified by:
withAllin interfaceMutableDoubleListFactory- Since:
- 9.0
-