Class DoubleNtree
java.lang.Object
net.imglib2.img.sparse.DoubleNtree
- All Implemented Interfaces:
DataAccess, DoubleAccess, NtreeAccess<Double, DoubleNtree>
public final class DoubleNtree
extends Object
implements DoubleAccess, NtreeAccess<Double, DoubleNtree>
DoubleAccess based on a
Ntree<Double>.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionDoubleNtree(long[] dimensions, long[] position, double value) privateDoubleNtree(Ntree<Double> data, long[] pos) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) doublegetValue(int index) voidsetValue(int index, double value) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NtreeAccess
createView
-
Field Details
-
position
private final long[] position -
data
-
-
Constructor Details
-
DoubleNtree
public DoubleNtree(long[] dimensions, long[] position, double value) -
DoubleNtree
-
-
Method Details
-
getValue
public double getValue(int index) - Specified by:
getValuein interfaceDoubleAccess
-
setValue
public void setValue(int index, double value) - Specified by:
setValuein interfaceDoubleAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Double, DoubleNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Double, DoubleNtree>
-