public class DoubleArray extends DataList
Constructor and Description |
---|
DoubleArray(double[] data) |
DoubleArray(double[] data,
int offset,
int length) |
Modifier and Type | Method and Description |
---|---|
int |
getLength() |
double |
getValueAt(int n) |
DoubleArray |
toDoubleArray() |
double[] |
toDoubleArray(double[] target)
Copy the data into the specified array or into a new one
if the target parameter is
null . |
get, getStorageModel, item, readOnlyList, size, toDoubleArrayArray, toIntArray, toIntArrayArray, toString
copyTo, copyTo, printUsage, toDoubleArrayArray, toIntArray, toIntArrayArray, toStringArray, toStringArray, toStringArrayArray, toStringArrayArray
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
parallelStream, removeIf, stream
public DoubleArray(double[] data)
public DoubleArray(double[] data, int offset, int length)
public DoubleArray toDoubleArray()
toDoubleArray
in class DataList
public final double[] toDoubleArray(double[] target)
DataItem
null
. Returns
the filled array.toDoubleArray
in class DataItem
public final double getValueAt(int n)
public final int getLength()