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

    Modifier and Type Method Description
    EE nextElement()
    Return the next element or throw a NoSuchElementException if there are no more elements.
  • Method Details

    • nextElement

      EE nextElement() throws java.util.NoSuchElementException
      Return the next element or throw a NoSuchElementException if there are no more elements.
      Returns:
      the next element
      Throws:
      java.util.NoSuchElementException - in case there is no next element