public class IndexChunkerTiled extends Object
Constructor and Description |
---|
IndexChunkerTiled(Section dataSection,
Section wantSection)
Constructor.
|
public IndexChunkerTiled(Section dataSection, Section wantSection) throws InvalidRangeException
dataSection
- the section of data we actually have. must have all ranges with stride = 1.wantSection
- the wanted section of data, it will be intersected with dataSection.
dataSection.intersects(wantSection) must be trueInvalidRangeException
- if ranges are malformedpublic long getTotalNelems()
public boolean hasNext()
public IndexChunker.Chunk next()
Copyright © 1999–2013 UCAR/Unidata. All rights reserved.