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 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()
Same asMutableFloatListFactory.empty()
.MutableFloatList
of(float... items)
MutableFloatList
ofAll(java.lang.Iterable<java.lang.Float> iterable)
MutableFloatList
ofAll(FloatIterable items)
MutableFloatList
with()
Same asMutableFloatListFactory.empty()
.MutableFloatList
with(float... items)
Creates a new list using the passeditems
argument as the backing store.MutableFloatList
withAll(java.lang.Iterable<java.lang.Float> iterable)
MutableFloatList
withAll(FloatIterable items)
MutableFloatList
withInitialCapacity(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:
empty
in interfaceMutableFloatListFactory
-
of
public MutableFloatList of()
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
.- Specified by:
of
in interfaceMutableFloatListFactory
-
with
public MutableFloatList with()
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
.- Specified by:
with
in interfaceMutableFloatListFactory
-
withInitialCapacity
public MutableFloatList withInitialCapacity(int capacity)
Description copied from interface:MutableFloatListFactory
Same asMutableFloatListFactory.empty()
. but takes in an initial capacity- Specified by:
withInitialCapacity
in interfaceMutableFloatListFactory
-
of
public MutableFloatList of(float... items)
Description copied from interface:MutableFloatListFactory
- 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)
Description copied from interface:MutableFloatListFactory
- Specified by:
ofAll
in interfaceMutableFloatListFactory
-
withAll
public MutableFloatList withAll(FloatIterable items)
- Specified by:
withAll
in interfaceMutableFloatListFactory
-
ofAll
public MutableFloatList ofAll(java.lang.Iterable<java.lang.Float> iterable)
Description copied from interface:MutableFloatListFactory
- Specified by:
ofAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-
withAll
public MutableFloatList withAll(java.lang.Iterable<java.lang.Float> iterable)
- Specified by:
withAll
in interfaceMutableFloatListFactory
- Since:
- 10.0
-
-