Interface MutableDoubleListFactory
-
public interface MutableDoubleListFactoryA 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 MutableDoubleListempty()MutableDoubleListof()Same asempty().MutableDoubleListof(double... items)Same aswith(double[]).MutableDoubleListofAll(Iterable<Double> iterable)Same aswithAll(Iterable).MutableDoubleListofAll(DoubleStream items)MutableDoubleListofAll(DoubleIterable items)Same aswithAll(DoubleIterable).MutableDoubleListwith()Same asempty().MutableDoubleListwith(double... items)Creates a new list using the passeditemsargument as the backing store.MutableDoubleListwithAll(Iterable<Double> iterable)MutableDoubleListwithAll(DoubleStream items)MutableDoubleListwithAll(DoubleIterable items)default MutableDoubleListwithInitialCapacity(int capacity)Same asempty().default MutableDoubleListwrapCopy(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 passeditemsargument 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(Iterable<Double> iterable)
Same aswithAll(Iterable).
-
withAll
MutableDoubleList withAll(Iterable<Double> iterable)
-
ofAll
MutableDoubleList ofAll(DoubleStream items)
- Since:
- 9.0
-
withAll
MutableDoubleList withAll(DoubleStream items)
- Since:
- 9.0
-
-