Package net.imglib2.img.sparse
Class CharNtree
- java.lang.Object
-
- net.imglib2.img.sparse.CharNtree
-
- All Implemented Interfaces:
CharAccess,DataAccess,NtreeAccess<java.lang.Character,CharNtree>
public final class CharNtree extends java.lang.Object implements CharAccess, NtreeAccess<java.lang.Character,CharNtree>
CharAccess based on aNtree<Char>.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CharNtreecreateInstance(long[] pos)Ntree<java.lang.Character>getCurrentStorageNtree()chargetValue(int index)voidsetValue(int index, char value)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.imglib2.img.sparse.NtreeAccess
createView
-
-
-
-
Field Detail
-
position
private final long[] position
-
data
private final Ntree<java.lang.Character> data
-
-
Constructor Detail
-
CharNtree
public CharNtree(long[] dimensions, long[] position, char value)
-
CharNtree
private CharNtree(Ntree<java.lang.Character> data, long[] position)
-
-
Method Detail
-
getValue
public char getValue(int index)
- Specified by:
getValuein interfaceCharAccess
-
setValue
public void setValue(int index, char value)- Specified by:
setValuein interfaceCharAccess
-
getCurrentStorageNtree
public Ntree<java.lang.Character> getCurrentStorageNtree()
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<java.lang.Character,CharNtree>
-
createInstance
public CharNtree createInstance(long[] pos)
- Specified by:
createInstancein interfaceNtreeAccess<java.lang.Character,CharNtree>
-
-