public class HDF5MDDataBlock<T extends MDAbstractArray<?>>
extends java.lang.Object
The pattern for using this class is:
for (HDF5DataBlock<MDIntArray> block : reader.getIntMDNaturalBlocks(dsNameMD)) { MDIntArray naturalBlock = block.getData(); ... work on naturalBlock, use block.getIndex() or block.getOffset() where needed ... }The iteration in the multi-dimensional case will be in C-order, that is last-index is iterated over first.
Note: If the size of the data set is not an integer number of blocks, then the last block will be smaller than the natural block size.
public T getData()
public long[] getOffset()
public long[] getIndex()
{ 0, ..., 0 }
.