Interface MutableDoubleListFactory
-
- All Known Implementing Classes:
MutableDoubleListFactoryImpl
public interface MutableDoubleListFactory
A factory which creates instances of typeMutableDoubleList
. 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 MutableDoubleList
empty()
MutableDoubleList
of()
Same asempty()
.MutableDoubleList
of(double... items)
Same aswith(double[])
.MutableDoubleList
ofAll(java.lang.Iterable<java.lang.Double> iterable)
Same aswithAll(Iterable)
.MutableDoubleList
ofAll(java.util.stream.DoubleStream items)
MutableDoubleList
ofAll(DoubleIterable items)
Same aswithAll(DoubleIterable)
.MutableDoubleList
with()
Same asempty()
.MutableDoubleList
with(double... items)
Creates a new list using the passeditems
argument as the backing store.MutableDoubleList
withAll(java.lang.Iterable<java.lang.Double> iterable)
MutableDoubleList
withAll(java.util.stream.DoubleStream items)
MutableDoubleList
withAll(DoubleIterable items)
default MutableDoubleList
withInitialCapacity(int capacity)
Same asempty()
.default MutableDoubleList
wrapCopy(double... array)
Creates a new list by first copying the array passed in.
-
-
-
Method Detail
-
empty
MutableDoubleList empty()
-
of
MutableDoubleList of()
Same asempty()
.
-
with
MutableDoubleList with()
Same asempty()
.
-
withInitialCapacity
default MutableDoubleList withInitialCapacity(int capacity)
Same asempty()
. but takes in an initial capacity- Since:
- 10.3
-
of
MutableDoubleList of(double... items)
Same aswith(double[])
.
-
with
MutableDoubleList with(double... 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 MutableDoubleList wrapCopy(double... array)
Creates a new list by first copying the array passed in.
-
ofAll
MutableDoubleList ofAll(DoubleIterable items)
Same aswithAll(DoubleIterable)
.
-
withAll
MutableDoubleList withAll(DoubleIterable items)
-
ofAll
MutableDoubleList ofAll(java.lang.Iterable<java.lang.Double> iterable)
Same aswithAll(Iterable)
.
-
withAll
MutableDoubleList withAll(java.lang.Iterable<java.lang.Double> iterable)
-
ofAll
MutableDoubleList ofAll(java.util.stream.DoubleStream items)
- Since:
- 9.0
-
withAll
MutableDoubleList withAll(java.util.stream.DoubleStream items)
- Since:
- 9.0
-
-