public class IndexChunkerTiled extends Object
Constructor and Description |
---|
IndexChunkerTiled(Section dataSection,
Section wantSection)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getTotalNelems() |
boolean |
hasNext() |
IndexChunker.Chunk |
next() |
String |
toString() |
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–2018 UCAR/Unidata. All rights reserved.