Interface MutableFloatListFactory
-
- All Known Implementing Classes:
MutableFloatListFactoryImpl
public interface MutableFloatListFactory
A factory which creates instances of typeMutableFloatList
. This file was automatically generated from template file mutablePrimitiveListFactory.stg.- Since:
- 6.0.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description MutableFloatList
empty()
MutableFloatList
of()
Same asempty()
.MutableFloatList
of(float... items)
Same aswith(float[])
.MutableFloatList
ofAll(java.lang.Iterable<java.lang.Float> iterable)
Same aswithAll(Iterable)
.MutableFloatList
ofAll(FloatIterable items)
Same aswithAll(FloatIterable)
.MutableFloatList
with()
Same asempty()
.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)
default MutableFloatList
withInitialCapacity(int capacity)
Same asempty()
.default MutableFloatList
wrapCopy(float... array)
Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableFloatList empty()
-
of
MutableFloatList of()
Same asempty()
.
-
with
MutableFloatList with()
Same asempty()
.
-
withInitialCapacity
default MutableFloatList withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableFloatList of(float... items)
Same aswith(float[])
.
-
with
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. !!!
-
wrapCopy
default MutableFloatList wrapCopy(float... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableFloatList ofAll(FloatIterable items)
Same aswithAll(FloatIterable)
.
-
withAll
MutableFloatList withAll(FloatIterable items)
-
ofAll
MutableFloatList ofAll(java.lang.Iterable<java.lang.Float> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableFloatList withAll(java.lang.Iterable<java.lang.Float> iterable)
-
-