Interface EventListenerIterator

  • All Superinterfaces:
    java.util.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 Detail

      • nextEventListener

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