Package org.jgrapht.util
Interface PrefetchIterator.NextElementFunctor<EE>
-
- 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EE
nextElement()
Return the next element or throw aNoSuchElementException
if there are no more elements.
-
-
-
Method Detail
-
nextElement
EE nextElement() throws NoSuchElementException
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
-
-