public class SingleItemIterator extends IndexIterator
index| Constructor and Description |
|---|
SingleItemIterator(int offset,
int size)
Constructor for an iterator over single item that will be broadcast over
given size of broadcast shape
|
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPos() |
boolean |
hasNext() |
void |
reset()
Reset iterator
|
getShapepublic SingleItemIterator(int offset, int size)
offset - offset to single itemsize - 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.