Package javax.jcr.observation
Interface EventListenerIterator
-
- All Superinterfaces:
java.util.Iterator,RangeIterator
- All Known Implementing Classes:
EventListenerIteratorAdapter
public interface EventListenerIterator extends RangeIterator
Allows easy iteration through a list ofEventListeners withnextEventListeneras well as askipmethod inherited fromRangeIterator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventListenernextEventListener()Returns the nextEventListenerin the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextEventListener
EventListener nextEventListener()
Returns the nextEventListenerin the iteration.- Returns:
- the next
EventListenerin the iteration. - Throws:
java.util.NoSuchElementException- if iteration has no moreEventListeners.
-
-