Class BooleanNtree
java.lang.Object
net.imglib2.img.sparse.BooleanNtree
- All Implemented Interfaces:
DataAccess, NtreeAccess<Boolean, BooleanNtree>
BitAccess based on a
Ntree<Boolean>.-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionBooleanNtree(long[] dimensions, long[] position, boolean value) privateBooleanNtree(Ntree<Boolean> data, long[] position) -
Method Summary
Modifier and TypeMethodDescriptioncreateInstance(long[] pos) booleangetValue(int index) voidsetValue(int index, boolean 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
-
BooleanNtree
public BooleanNtree(long[] dimensions, long[] position, boolean value) -
BooleanNtree
-
-
Method Details
-
getValue
public boolean getValue(int index) -
setValue
public void setValue(int index, boolean value) -
getCurrentStorageNtree
- Specified by:
getCurrentStorageNtreein interfaceNtreeAccess<Boolean, BooleanNtree>
-
createInstance
- Specified by:
createInstancein interfaceNtreeAccess<Boolean, BooleanNtree>
-