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) long
getValue
(int index) void
setValue
(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:
getValue
in interfaceLongAccess
-
setValue
public void setValue(int index, long value) - Specified by:
setValue
in interfaceLongAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtree
in interfaceNtreeAccess<Long,
LongNtree>
-
createInstance
- Specified by:
createInstance
in interfaceNtreeAccess<Long,
LongNtree>
-