Type Parameters:
E - the type of elements returned by this iterator
All Known Subinterfaces:
EventIterator, ListIterator<E>, PrimitiveIterator<T,T_CONS>, PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong, XMLEventReader
All Known Implementing Classes:
BeanContextSupport.BCSIterator, EventReaderDelegate, Scanner

  • Method Summary

    default void

    Performs the given action for each remaining element until all elements have been processed or the action throws an exception.

    boolean

    hasNext()

    Returns true if the iteration has more elements.

    next()

    Returns the next element in the iteration.

    default void

    remove()

    Removes from the underlying collection the last element returned by this iterator (optional operation).

  • Method Details

    • hasNext

    • next

    • remove

    • forEachRemaining