- Type Parameters:
EE
- the element type
- Enclosing class:
- PrefetchIterator<E>
public static interface PrefetchIterator.NextElementFunctor<EE>
A functor for the calculation of the next element.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the next element or throw aNoSuchElementException
if there are no more elements.
-
Method Details
-
nextElement
Return the next element or throw aNoSuchElementException
if there are no more elements.- Returns:
- the next element
- Throws:
NoSuchElementException
- in case there is no next element
-