Class MutableFloatListFactoryImpl
java.lang.Object
org.eclipse.collections.impl.list.mutable.primitive.MutableFloatListFactoryImpl
- All Implemented Interfaces:
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.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionempty()
of()
Same asMutableFloatListFactory.empty()
.of
(float... items) ofAll
(FloatIterable items) with()
Same asMutableFloatListFactory.empty()
.with
(float... items) Creates a new list using the passeditems
argument as the backing store.withAll
(FloatIterable items) withInitialCapacity
(int capacity) Same asMutableFloatListFactory.empty()
.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 Details
-
INSTANCE
-
-
Constructor Details
-
MutableFloatListFactoryImpl
public MutableFloatListFactoryImpl()
-
-
Method Details
-
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
-