IPrimaryArrayWrapper
public class DoubleArrayWrapper extends java.lang.Object implements IPrimaryArrayWrapper
Modifier and Type | Field | Description |
---|---|---|
double[] |
data |
Constructor | Description |
---|---|
DoubleArrayWrapper(double[] data) |
Modifier and Type | Method | Description |
---|---|---|
double |
get(int i) |
Get the array element value at index i.
|
int |
getSize() |
Get size of the array.
|
void |
setData(double[] data) |
public void setData(double[] data)
public double get(int i)
IPrimaryArrayWrapper
get
in interface IPrimaryArrayWrapper
i
- indexpublic int getSize()
IPrimaryArrayWrapper
getSize
in interface IPrimaryArrayWrapper