Package net.imglib2.img.sparse
Class IntNtree
- java.lang.Object
-
- net.imglib2.img.sparse.IntNtree
-
- All Implemented Interfaces:
DataAccess,IntAccess,NtreeAccess<java.lang.Integer,IntNtree>
public final class IntNtree extends java.lang.Object implements IntAccess, NtreeAccess<java.lang.Integer,IntNtree>
IntAccess based on aNtree<Integer>.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntNtreecreateInstance(long[] pos)Ntree<java.lang.Integer>getCurrentStorageNtree()intgetValue(int index)voidsetValue(int index, int 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.Integer> data
-
-
Constructor Detail
-
IntNtree
public IntNtree(long[] dimensions, long[] position, int value)Standard constructor called by factory- Parameters:
dimensions- The dimensions of the treevalue- Uniform value of created nodes of the tree
-
IntNtree
private IntNtree(Ntree<java.lang.Integer> data, long[] position)
-
-
Method Detail
-
getCurrentStorageNtree
public Ntree<java.lang.Integer> getCurrentStorageNtree()
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<java.lang.Integer,IntNtree>
-
createInstance
public IntNtree createInstance(long[] pos)
- Specified by:
createInstancein interfaceNtreeAccess<java.lang.Integer,IntNtree>
-
-