Class MutableFloatListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableFloatListFactoryImpl
-
- All Implemented Interfaces:
MutableFloatListFactory
public class MutableFloatListFactoryImpl extends Object implements MutableFloatListFactory
MutableFloatListFactoryImpl is a factory implementation which creates instances of typeMutableFloatList
. This file was automatically generated from template file mutablePrimitiveListFactoryImpl.stg.- Since:
- 6.0.
-
-
Field Summary
Fields Modifier and Type Field Description static MutableFloatListFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableFloatListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableFloatList
empty()
MutableFloatList
of()
MutableFloatList
of(float... items)
MutableFloatList
ofAll(Iterable<Float> iterable)
MutableFloatList
ofAll(FloatIterable items)
MutableFloatList
with()
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)
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.factory.list.primitive.MutableFloatListFactory
wrapCopy
-
-
-
-
Field Detail
-
INSTANCE
public static final MutableFloatListFactory INSTANCE
-
-
Method Detail
-
empty
public MutableFloatList empty()
- Specified by:
empty
in interfaceMutableFloatListFactory
-
of
public MutableFloatList of()
- Specified by:
of
in interfaceMutableFloatListFactory
-
with
public MutableFloatList with()
- Specified by:
with
in interfaceMutableFloatListFactory
-
withInitialCapacity
public MutableFloatList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacity
in interfaceMutableFloatListFactory
-
of
public MutableFloatList of(float... items)
- Specified by:
of
in interfaceMutableFloatListFactory
-
with
public MutableFloatList with(float... items)
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
public MutableFloatList ofAll(FloatIterable items)
- Specified by:
ofAll
in interfaceMutableFloatListFactory
-
withAll
public MutableFloatList withAll(FloatIterable items)
- Specified by:
withAll
in interfaceMutableFloatListFactory
-
ofAll
public MutableFloatList ofAll(Iterable<Float> iterable)
- Specified by:
ofAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-
withAll
public MutableFloatList withAll(Iterable<Float> iterable)
- Specified by:
withAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-
-