public class ContiguousIteratorWithPosition extends IndexIterator
index| Constructor and Description |
|---|
ContiguousIteratorWithPosition(int[] shape,
int length)
Constructor for an iterator over the items of a dataset that are
within the dimensions
|
ContiguousIteratorWithPosition(int[] shape,
int length,
int isize)
Constructor for an iterator over the items of a dataset that are
within the dimensions
|
public ContiguousIteratorWithPosition(int[] shape, int length)
shape - length - of entire data arraypublic ContiguousIteratorWithPosition(int[] shape, int length, int isize)
shape - length - of entire data arrayisize - number of elements in an itempublic boolean hasNext()
hasNext in class IndexIteratorpublic int[] getPos()
getPos in class IndexIteratorpublic void reset()
IndexIteratorreset in class IndexIteratorpublic int[] getShape()
getShape in class IndexIteratorCopyright © 2017. All rights reserved.