Interface EventListenerIterator

All Superinterfaces:
Iterator, RangeIterator
All Known Implementing Classes:
EventListenerIteratorAdapter

public interface EventListenerIterator extends RangeIterator
Allows easy iteration through a list of EventListeners with nextEventListener as well as a skip method inherited from RangeIterator.
  • Method Details

    • nextEventListener

      EventListener nextEventListener()
      Returns the next EventListener in the iteration.
      Returns:
      the next EventListener in the iteration.
      Throws:
      NoSuchElementException - if iteration has no more EventListeners.