Package javax.jcr.observation
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 ofEvent
s withnextEvent
as well as askip
method inherited fromRangeIterator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Event
nextEvent()
Returns the nextEvent
in the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextEvent
Event nextEvent()
Returns the nextEvent
in the iteration.- Returns:
- the next
Event
in the iteration. - Throws:
java.util.NoSuchElementException
- if iteration has no moreEvent
s.
-
-