public class DoubleArray extends Object implements DoubleAccess, ArrayDataAccess<DoubleArray>
Modifier and Type | Field and Description |
---|---|
protected double[] |
data |
Constructor and Description |
---|
DoubleArray(double[] data) |
DoubleArray(int numEntities) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
DoubleArray |
createArray(int numEntities) |
double[] |
getCurrentStorageArray() |
double |
getValue(int index) |
void |
setValue(int index,
double value) |
public DoubleArray(int numEntities)
public DoubleArray(double[] data)
public void close()
close
in interface DataAccess
public double getValue(int index)
getValue
in interface DoubleAccess
public void setValue(int index, double value)
setValue
in interface DoubleAccess
public DoubleArray createArray(int numEntities)
createArray
in interface ArrayDataAccess<DoubleArray>
public double[] getCurrentStorageArray()
getCurrentStorageArray
in interface ArrayDataAccess<DoubleArray>
Copyright © 2015–2021 Fiji. All rights reserved.