Package net.imglib2.img.sparse
Class ShortNtree
java.lang.Object
net.imglib2.img.sparse.ShortNtree
- All Implemented Interfaces:
ShortAccess
,NtreeAccess<Short,
ShortNtree>
- Author:
- Tobias Pietzsch
-
Constructor Summary
ConstructorsConstructorDescriptionShortNtree
(long[] dimenions, long[] position, short value) ShortNtree
(Ntree<Short> data, long[] position) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance
(long[] pos) short
getValue
(int index) void
setValue
(int index, short value)
-
Constructor Details
-
ShortNtree
public ShortNtree(long[] dimenions, long[] position, short value) -
ShortNtree
-
-
Method Details
-
getValue
public short getValue(int index) - Specified by:
getValue
in interfaceShortAccess
-
setValue
public void setValue(int index, short value) - Specified by:
setValue
in interfaceShortAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtree
in interfaceNtreeAccess<Short,
ShortNtree>
-
createInstance
- Specified by:
createInstance
in interfaceNtreeAccess<Short,
ShortNtree>
-