public final class LongNtree extends Object implements LongAccess, NtreeAccess<Long,LongNtree>
Ntree
.Constructor and Description |
---|
LongNtree(long[] dimensions,
long[] position,
long value)
Standard constructor called by factory
|
LongNtree(Ntree<Long> data,
long[] position) |
Modifier and Type | Method and Description |
---|---|
LongNtree |
createInstance(long[] pos) |
Ntree<Long> |
getCurrentStorageNtree() |
long |
getValue(int index) |
void |
setValue(int index,
long value) |
public LongNtree(long[] dimensions, long[] position, long value)
dimensions
- The dimensions of the treevalue
- Uniform value of created nodes of the treepublic long getValue(int index)
getValue
in interface LongAccess
public void setValue(int index, long value)
setValue
in interface LongAccess
public Ntree<Long> getCurrentStorageNtree()
getCurrentStorageNtree
in interface NtreeAccess<Long,LongNtree>
public LongNtree createInstance(long[] pos)
createInstance
in interface NtreeAccess<Long,LongNtree>
Copyright © 2015–2022 ImgLib2. All rights reserved.