Package javax.jcr.observation
Interface EventListenerIterator
-
- All Superinterfaces:
Iterator
,RangeIterator
- All Known Implementing Classes:
EventListenerIteratorAdapter
public interface EventListenerIterator extends RangeIterator
Allows easy iteration through a list ofEventListener
s withnextEventListener
as well as askip
method inherited fromRangeIterator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EventListener
nextEventListener()
Returns the nextEventListener
in the iteration.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextEventListener
EventListener nextEventListener()
Returns the nextEventListener
in the iteration.- Returns:
- the next
EventListener
in the iteration. - Throws:
NoSuchElementException
- if iteration has no moreEventListener
s.
-
-