public abstract class AbstractDoubleArray<A extends AbstractDoubleArray<A>> extends Object implements DoubleAccess, ArrayDataAccess<A>
Modifier and Type | Field and Description |
---|---|
protected double[] |
data |
Constructor and Description |
---|
AbstractDoubleArray(double[] data) |
AbstractDoubleArray(int numEntities) |
Modifier and Type | Method and Description |
---|---|
int |
getArrayLength() |
double[] |
getCurrentStorageArray() |
double |
getValue(int index) |
void |
setValue(int index,
double value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createArray
public AbstractDoubleArray(int numEntities)
public AbstractDoubleArray(double[] data)
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<A extends AbstractDoubleArray<A>>
public int getArrayLength()
getArrayLength
in interface ArrayDataAccess<A extends AbstractDoubleArray<A>>
Copyright © 2015–2022 ImgLib2. All rights reserved.