Package net.imglib2.img.sparse
Class FloatNtree
- java.lang.Object
-
- net.imglib2.img.sparse.FloatNtree
-
- All Implemented Interfaces:
DataAccess,FloatAccess,NtreeAccess<java.lang.Float,FloatNtree>
public final class FloatNtree extends java.lang.Object implements FloatAccess, NtreeAccess<java.lang.Float,FloatNtree>
FloatAccess based on aNtree<Float>.
-
-
Constructor Summary
Constructors Modifier Constructor Description FloatNtree(long[] dimensions, long[] position, float value)privateFloatNtree(Ntree<java.lang.Float> data, long[] position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatNtreecreateInstance(long[] pos)Ntree<java.lang.Float>getCurrentStorageNtree()floatgetValue(int index)voidsetValue(int index, float value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.img.sparse.NtreeAccess
createView
-
-
-
-
Field Detail
-
position
private final long[] position
-
data
private final Ntree<java.lang.Float> data
-
-
Constructor Detail
-
FloatNtree
public FloatNtree(long[] dimensions, long[] position, float value)
-
FloatNtree
private FloatNtree(Ntree<java.lang.Float> data, long[] position)
-
-
Method Detail
-
getValue
public float getValue(int index)
- Specified by:
getValuein interfaceFloatAccess
-
setValue
public void setValue(int index, float value)- Specified by:
setValuein interfaceFloatAccess
-
getCurrentStorageNtree
public Ntree<java.lang.Float> getCurrentStorageNtree()
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<java.lang.Float,FloatNtree>
-
createInstance
public FloatNtree createInstance(long[] pos)
- Specified by:
createInstancein interfaceNtreeAccess<java.lang.Float,FloatNtree>
-
-