Class ShortNtree
java.lang.Object
net.imglib2.img.sparse.ShortNtree
- All Implemented Interfaces:
DataAccess, ShortAccess, NtreeAccess<Short, ShortNtree>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionShortNtree(long[] dimensions, long[] position, short value) ShortNtree(Ntree<Short> data, long[] position) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) shortgetValue(int index) voidsetValue(int index, short 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
-
ShortNtree
public ShortNtree(long[] dimensions, long[] position, short value) -
ShortNtree
-
-
Method Details
-
getValue
public short getValue(int index) - Specified by:
getValuein interfaceShortAccess
-
setValue
public void setValue(int index, short value) - Specified by:
setValuein interfaceShortAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Short, ShortNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Short, ShortNtree>
-