public class LayoutTiled extends Object implements Layout
| Modifier and Type | Class and Description | 
|---|---|
| static class  | LayoutTiled.DataChunkThe chunks of a tiled layout. | 
| static interface  | LayoutTiled.DataChunkIteratorAn iterator over DataChunk's | 
Layout.Chunk| Constructor and Description | 
|---|
| LayoutTiled(LayoutTiled.DataChunkIterator chunkIterator,
           int[] chunkSize,
           int elemSize,
           Section wantSection)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getElemSize()Get size of each element in bytes. | 
| long | getTotalNelems()Get total number of elements in the wanted subset. | 
| boolean | hasNext()Is there more to do | 
| Layout.Chunk | next()Get the next chunk | 
| String | toString() | 
public LayoutTiled(LayoutTiled.DataChunkIterator chunkIterator, int[] chunkSize, int elemSize, Section wantSection)
chunkIterator - iterator over all available data chunkschunkSize - all chunks assumed to be the same sizeelemSize - size of an element in bytes.wantSection - the wanted section of data, contains a List of Range objects. Must be completepublic int getElemSize()
LayoutgetElemSize in interface Layoutpublic long getTotalNelems()
LayoutgetTotalNelems in interface Layoutpublic boolean hasNext()
Layoutpublic Layout.Chunk next()
Layout