- hasNext
- computeNext
Returns the next element. Note: the implementation must call #endOfData() when
there are no elements
- tryToComputeNext
- <init>
Constructor for use by subclasses.
- endOfData
Implementations of #computeNext must invoke this method when there are no
elements left in the itera
- peek
Returns the next element in the iteration without advancing the iteration,
according to the contract