Class MutableFloatListFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.list.mutable.primitive.MutableFloatListFactoryImpl
-
- All Implemented Interfaces:
MutableFloatListFactory
public class MutableFloatListFactoryImpl extends java.lang.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()Same asMutableFloatListFactory.empty().MutableFloatListof(float... items)MutableFloatListofAll(java.lang.Iterable<java.lang.Float> iterable)MutableFloatListofAll(FloatIterable items)MutableFloatListwith()Same asMutableFloatListFactory.empty().MutableFloatListwith(float... items)Creates a new list using the passeditemsargument as the backing store.MutableFloatListwithAll(java.lang.Iterable<java.lang.Float> iterable)MutableFloatListwithAll(FloatIterable items)MutableFloatListwithInitialCapacity(int capacity)Same asMutableFloatListFactory.empty().-
Methods inherited from class java.lang.Object
clone, equals, finalize, 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()
Description copied from interface:MutableFloatListFactorySame asMutableFloatListFactory.empty().- Specified by:
ofin interfaceMutableFloatListFactory
-
with
public MutableFloatList with()
Description copied from interface:MutableFloatListFactorySame asMutableFloatListFactory.empty().- Specified by:
within interfaceMutableFloatListFactory
-
withInitialCapacity
public MutableFloatList withInitialCapacity(int capacity)
Description copied from interface:MutableFloatListFactorySame asMutableFloatListFactory.empty(). but takes in an initial capacity- Specified by:
withInitialCapacityin interfaceMutableFloatListFactory
-
of
public MutableFloatList of(float... items)
Description copied from interface:MutableFloatListFactory- 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)
Description copied from interface:MutableFloatListFactory- Specified by:
ofAllin interfaceMutableFloatListFactory
-
withAll
public MutableFloatList withAll(FloatIterable items)
- Specified by:
withAllin interfaceMutableFloatListFactory
-
ofAll
public MutableFloatList ofAll(java.lang.Iterable<java.lang.Float> iterable)
Description copied from interface:MutableFloatListFactory- Specified by:
ofAllin interfaceMutableFloatListFactory- Since:
- 10.0
-
withAll
public MutableFloatList withAll(java.lang.Iterable<java.lang.Float> iterable)
- Specified by:
withAllin interfaceMutableFloatListFactory- Since:
- 10.0
-
-