Interface EventIterator

  • All Superinterfaces:
    java.util.Iterator, RangeIterator
    All Known Subinterfaces:
    EventJournal
    All Known Implementing Classes:
    EventIteratorAdapter

    public interface EventIterator
    extends RangeIterator
    Allows easy iteration through a list of Events with nextEvent as well as a skip method inherited from RangeIterator.
    • Method Detail

      • nextEvent

        Event nextEvent()
        Returns the next Event in the iteration.
        Returns:
        the next Event in the iteration.
        Throws:
        java.util.NoSuchElementException - if iteration has no more Events.