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 MutableFloatListFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description MutableFloatListFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MutableFloatListempty()MutableFloatListof()MutableFloatListof(float... items)MutableFloatListofAll(Iterable<Float> iterable)MutableFloatListofAll(FloatIterable items)MutableFloatListwith()MutableFloatListwith(float... items)Creates a new list using the passeditemsargument as the backing store.MutableFloatListwithAll(Iterable<Float> iterable)MutableFloatListwithAll(FloatIterable items)MutableFloatListwithInitialCapacity(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:
emptyin interfaceMutableFloatListFactory
-
of
public MutableFloatList of()
- Specified by:
ofin interfaceMutableFloatListFactory
-
with
public MutableFloatList with()
- Specified by:
within interfaceMutableFloatListFactory
-
withInitialCapacity
public MutableFloatList withInitialCapacity(int capacity)
- Specified by:
withInitialCapacityin interfaceMutableFloatListFactory
-
of
public MutableFloatList of(float... items)
- Specified by:
ofin interfaceMutableFloatListFactory
-
with
public MutableFloatList with(float... items)
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 interfaceMutableFloatListFactory
-
ofAll
public MutableFloatList ofAll(FloatIterable items)
- Specified by:
ofAllin interfaceMutableFloatListFactory
-
withAll
public MutableFloatList withAll(FloatIterable items)
- Specified by:
withAllin interfaceMutableFloatListFactory
-
ofAll
public MutableFloatList ofAll(Iterable<Float> iterable)
- Specified by:
ofAllin interfaceMutableFloatListFactory- Since:
- 10.0
-
withAll
public MutableFloatList withAll(Iterable<Float> iterable)
- Specified by:
withAllin interfaceMutableFloatListFactory- Since:
- 10.0
-
-