public interface MutableDoubleListFactory
MutableDoubleList.
This file was automatically generated from template file mutablePrimitiveListFactory.stg.| Modifier and Type | Method and Description |
|---|---|
MutableDoubleList |
empty() |
MutableDoubleList |
of()
Same as
empty(). |
MutableDoubleList |
of(double... items)
Same as
with(double[]). |
MutableDoubleList |
ofAll(DoubleIterable items)
Same as
withAll(DoubleIterable). |
MutableDoubleList |
ofAll(DoubleStream items) |
MutableDoubleList |
ofAll(Iterable<Double> iterable)
Same as
withAll(Iterable). |
MutableDoubleList |
with()
Same as
empty(). |
MutableDoubleList |
with(double... items)
Creates a new list using the passed
items argument as the backing store. |
MutableDoubleList |
withAll(DoubleIterable items) |
MutableDoubleList |
withAll(DoubleStream items) |
MutableDoubleList |
withAll(Iterable<Double> iterable) |
default MutableDoubleList |
withInitialCapacity(int capacity)
Same as
empty(). |
default MutableDoubleList |
wrapCopy(double... array)
Creates a new list by first copying the array passed in.
|
MutableDoubleList empty()
MutableDoubleList of()
empty().MutableDoubleList with()
empty().default MutableDoubleList withInitialCapacity(int capacity)
empty(). but takes in an initial capacityMutableDoubleList of(double... items)
with(double[]).MutableDoubleList with(double... items)
items 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. !!!
default MutableDoubleList wrapCopy(double... array)
MutableDoubleList ofAll(DoubleIterable items)
withAll(DoubleIterable).MutableDoubleList withAll(DoubleIterable items)
MutableDoubleList ofAll(Iterable<Double> iterable)
withAll(Iterable).MutableDoubleList withAll(Iterable<Double> iterable)
MutableDoubleList ofAll(DoubleStream items)
MutableDoubleList withAll(DoubleStream items)
Copyright © 2004–2023. All rights reserved.