public class NullIterator extends SliceIterator
index| Constructor and Description |
|---|
NullIterator(int[] shape,
int[] sshape) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getPos()
Returns the current position of the iterator.
|
boolean |
hasNext()
Returns
true if there is an other element after the current
Slice. |
void |
reset()
Reset the Iterator to the first Slice.
|
getShape, getStart, getStep, setStartpublic NullIterator(int[] shape, int[] sshape)
shape - shape of datasetsshape - shape of slicepublic boolean hasNext()
SliceIteratortrue if there is an other element after the current
Slice.hasNext in class SliceIteratorfalse in
the other casepublic int[] getPos()
SliceIteratorgetPos in class SliceIteratorpublic void reset()
SliceIteratorreset in class SliceIteratorCopyright © 2014–2017 Eclipse Foundation. All rights reserved.