Package net.imglib2.img.sparse
Class IntNtree
java.lang.Object
net.imglib2.img.sparse.IntNtree
- All Implemented Interfaces:
IntAccess,NtreeAccess<Integer,IntNtree>
IntAccess based on a
Ntree<Integer>.- Author:
- Tobias Pietzsch
-
Constructor Summary
ConstructorsConstructorDescriptionIntNtree(long[] dimensions, long[] position, int value) Standard constructor called by factory -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) intgetValue(int index) voidsetValue(int index, int value)
-
Constructor Details
-
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
-
-
Method Details
-
getValue
public int getValue(int index) -
setValue
public void setValue(int index, int value) -
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Integer,IntNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Integer,IntNtree>
-