R
- the result value typepublic abstract class IxBaseIterator<R>
extends java.lang.Object
implements java.util.Iterator<R>
Modifier and Type | Field and Description |
---|---|
protected boolean |
done
Indicates there are no more data available.
|
protected boolean |
hasValue
Indicates a value is available for consumption.
|
protected R |
value
The current value if hasValue is true.
|
Constructor and Description |
---|
IxBaseIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
protected abstract boolean |
moveNext()
Move the stream forward by a single element.
|
R |
next() |
void |
remove() |
protected boolean hasValue
protected boolean done
protected R value
protected abstract boolean moveNext()
public final boolean hasNext()
hasNext
in interface java.util.Iterator<R>
public void remove()
remove
in interface java.util.Iterator<R>