Class CharNtree
java.lang.Object
net.imglib2.img.sparse.CharNtree
- All Implemented Interfaces:
CharAccess, DataAccess, NtreeAccess<Character, CharNtree>
public final class CharNtree
extends Object
implements CharAccess, NtreeAccess<Character, CharNtree>
CharAccess based on a
Ntree<Char>.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) chargetValue(int index) voidsetValue(int index, char 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
-
CharNtree
public CharNtree(long[] dimensions, long[] position, char value) -
CharNtree
-
-
Method Details
-
getValue
public char getValue(int index) - Specified by:
getValuein interfaceCharAccess
-
setValue
public void setValue(int index, char value) - Specified by:
setValuein interfaceCharAccess
-
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Character, CharNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Character, CharNtree>
-