Package javax.jcr.observation
Interface EventListenerIterator
- All Superinterfaces:
Iterator,RangeIterator
- All Known Implementing Classes:
EventListenerIteratorAdapter
Allows easy iteration through a list of
EventListeners with
nextEventListener as well as a skip method
inherited from RangeIterator.-
Method Summary
Modifier and TypeMethodDescriptionReturns the nextEventListenerin the iteration.Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
nextEventListener
EventListener nextEventListener()Returns the nextEventListenerin the iteration.- Returns:
- the next
EventListenerin the iteration. - Throws:
NoSuchElementException- if iteration has no moreEventListeners.
-