Class LongNtree
java.lang.Object
net.imglib2.img.sparse.LongNtree
- All Implemented Interfaces:
DataAccess, LongAccess, NtreeAccess<Long, LongNtree>
LongAccess based on a
Ntree<Longeger>.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) longgetValue(int index) voidsetValue(int index, long value) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NtreeAccess
createView
-
Field Details
-
position
private final long[] position -
data
-
-
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>
-