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