public interface DataIterator
Modifier and Type | Method and Description |
---|---|
boolean |
done()
Returns true if the iterator has no more elements.
|
double |
get()
Returns the current element in the iteration.
|
void |
next()
Pass to the next element.
|
void |
reset()
Reset iterator to initial position.
|
void |
set(double value)
Sets the current element in the iteration and pass to the next.
|
void reset()
void next()
boolean done()
double get()
java.util.NoSuchElementException
- iteration has no more elements.void set(double value)
java.util.NoSuchElementException
- iteration has no more elements.