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 ofEvents withnextEventas well as askipmethod inherited fromRangeIterator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventnextEvent()Returns the nextEventin the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextEvent
Event nextEvent()
Returns the nextEventin the iteration.- Returns:
- the next
Eventin the iteration. - Throws:
java.util.NoSuchElementException- if iteration has no moreEvents.
-
-