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