Package net.imglib2.img.sparse
Class DoubleNtree
- java.lang.Object
-
- net.imglib2.img.sparse.DoubleNtree
-
- All Implemented Interfaces:
DoubleAccess
,NtreeAccess<java.lang.Double,DoubleNtree>
public final class DoubleNtree extends java.lang.Object implements DoubleAccess, NtreeAccess<java.lang.Double,DoubleNtree>
DoubleAccess based on aNtree
<Double>
.- Author:
- Tobias Pietzsch
-
-
Constructor Summary
Constructors Constructor Description DoubleNtree(long[] dimenions, long[] position, java.lang.Double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoubleNtree
createInstance(long[] pos)
Ntree<java.lang.Double>
getCurrentStorageNtree()
double
getValue(int index)
void
setValue(int index, double value)
-
-
-
Method Detail
-
getValue
public double getValue(int index)
- Specified by:
getValue
in interfaceDoubleAccess
-
setValue
public void setValue(int index, double value)
- Specified by:
setValue
in interfaceDoubleAccess
-
getCurrentStorageNtree
public Ntree<java.lang.Double> getCurrentStorageNtree()
- Specified by:
getCurrentStorageNtree
in interfaceNtreeAccess<java.lang.Double,DoubleNtree>
-
createInstance
public DoubleNtree createInstance(long[] pos)
- Specified by:
createInstance
in interfaceNtreeAccess<java.lang.Double,DoubleNtree>
-
-