Enum MutableFloatListFactoryImpl
java.lang.Object
java.lang.Enum<MutableFloatListFactoryImpl>
org.eclipse.collections.impl.list.mutable.primitive.MutableFloatListFactoryImpl
- All Implemented Interfaces:
Serializable
,Comparable<MutableFloatListFactoryImpl>
,java.lang.constant.Constable
,MutableFloatListFactory
public enum MutableFloatListFactoryImpl extends Enum<MutableFloatListFactoryImpl> implements MutableFloatListFactory
MutableFloatListFactoryImpl is a factory implementation which creates instances of type
MutableFloatList
.
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 MutableFloatList
empty()
MutableFloatList
of()
Same asMutableFloatListFactory.empty()
.MutableFloatList
of(float... items)
MutableFloatList
ofAll(Iterable<Float> iterable)
MutableFloatList
ofAll(FloatIterable items)
static MutableFloatListFactoryImpl
valueOf(String name)
Returns the enum constant of this type with the specified name.static MutableFloatListFactoryImpl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.MutableFloatList
with()
Same asMutableFloatListFactory.empty()
.MutableFloatList
with(float... items)
Creates a new list using the passeditems
argument as the backing store.MutableFloatList
withAll(Iterable<Float> iterable)
MutableFloatList
withAll(FloatIterable items)
MutableFloatList
withInitialCapacity(int capacity)
Same asMutableFloatListFactory.empty()
.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableFloatListFactory
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:
empty
in interfaceMutableFloatListFactory
-
of
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
.- Specified by:
of
in interfaceMutableFloatListFactory
-
with
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
.- Specified by:
with
in interfaceMutableFloatListFactory
-
withInitialCapacity
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableFloatListFactory
-
of
Description copied from interface:MutableFloatListFactory
- Specified by:
of
in interfaceMutableFloatListFactory
-
with
Creates a new list using the passeditems
argument 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:
with
in interfaceMutableFloatListFactory
-
ofAll
Description copied from interface:MutableFloatListFactory
- Specified by:
ofAll
in interfaceMutableFloatListFactory
-
withAll
- Specified by:
withAll
in interfaceMutableFloatListFactory
-
ofAll
Description copied from interface:MutableFloatListFactory
- Specified by:
ofAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-
withAll
- Specified by:
withAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-