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, setStart
public NullIterator(int[] shape, int[] sshape)
shape
- shape of datasetsshape
- shape of slicepublic boolean hasNext()
SliceIterator
true
if there is an other element after the current
Slice.hasNext
in class SliceIterator
true
if the iteration has more Slice, false
in
the other casepublic int[] getPos()
SliceIterator
getPos
in class SliceIterator
public void reset()
SliceIterator
reset
in class SliceIterator
Copyright © 2014–2019 Eclipse Foundation. All rights reserved.