Package javax.jcr.observation
Interface EventIterator
- All Superinterfaces:
Iterator
,RangeIterator
- All Known Subinterfaces:
EventJournal
- All Known Implementing Classes:
EventIteratorAdapter
Allows easy iteration through a list of
Event
s with
nextEvent
as well as a skip
method inherited from
RangeIterator
.-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
nextEvent
Event nextEvent()Returns the nextEvent
in the iteration.- Returns:
- the next
Event
in the iteration. - Throws:
NoSuchElementException
- if iteration has no moreEvent
s.
-