public class ContiguousIterator extends IndexIterator
index| Constructor and Description |
|---|
ContiguousIterator(int length)
Constructor for an iterator over the items of a contiguous dataset that are
within the dimensions
|
ContiguousIterator(int length,
int isize)
Constructor for an iterator over the items of a contiguous dataset that are
within the dimensions
|
ContiguousIterator(int length,
int isize,
int element)
Constructor for an iterator over the items of a contiguous dataset that are
within the dimensions
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPos() |
boolean |
hasNext() |
void |
reset()
Reset iterator
|
getShapepublic ContiguousIterator(int length)
length - of entire data arraypublic ContiguousIterator(int length, int isize)
length - of entire data arrayisize - number of elements in an itempublic ContiguousIterator(int length, int isize, int element)
length - of entire data arrayisize - number of elements in an itemelement - element to start with (for compound datasets)public boolean hasNext()
hasNext in class IndexIteratorpublic int[] getPos()
getPos in class IndexIteratorpublic void reset()
IndexIteratorreset in class IndexIteratorCopyright © 2014–2018 Eclipse Foundation. All rights reserved.