Package net.imglib2.img.sparse
Class ShortNtree
- java.lang.Object
-
- net.imglib2.img.sparse.ShortNtree
-
- All Implemented Interfaces:
ShortAccess
,NtreeAccess<java.lang.Short,ShortNtree>
public final class ShortNtree extends java.lang.Object implements ShortAccess, NtreeAccess<java.lang.Short,ShortNtree>
- Author:
- Tobias Pietzsch
-
-
Constructor Summary
Constructors Constructor Description ShortNtree(long[] dimenions, long[] position, short value)
ShortNtree(Ntree<java.lang.Short> data, long[] position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ShortNtree
createInstance(long[] pos)
Ntree<java.lang.Short>
getCurrentStorageNtree()
short
getValue(int index)
void
setValue(int index, short value)
-
-
-
Constructor Detail
-
ShortNtree
public ShortNtree(long[] dimenions, long[] position, short value)
-
ShortNtree
public ShortNtree(Ntree<java.lang.Short> data, long[] position)
-
-
Method Detail
-
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
public Ntree<java.lang.Short> getCurrentStorageNtree()
- Specified by:
getCurrentStorageNtree
in interfaceNtreeAccess<java.lang.Short,ShortNtree>
-
createInstance
public ShortNtree createInstance(long[] pos)
- Specified by:
createInstance
in interfaceNtreeAccess<java.lang.Short,ShortNtree>
-
-