Package net.imglib2.img.sparse
Class LongNtree
java.lang.Object
net.imglib2.img.sparse.LongNtree
- All Implemented Interfaces:
LongAccess,NtreeAccess<Long,LongNtree>
LongAccess based on a
Ntree<Longeger>.- Author:
- Tobias Pietzsch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) longgetValue(int index) voidsetValue(int index, long value)
-
Constructor Details
-
LongNtree
public LongNtree(long[] dimensions, long[] position, long value) Standard constructor called by factory- Parameters:
dimensions- The dimensions of the treevalue- Uniform value of created nodes of the tree
-
LongNtree
-
-
Method Details
-
getValue
public long getValue(int index) - Specified by:
getValuein interfaceLongAccess
-
setValue
public void setValue(int index, long value) - Specified by:
setValuein interfaceLongAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Long,LongNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Long,LongNtree>
-