javax.jcr.observation
Interface EventListenerIterator

All Superinterfaces:
java.util.Iterator, RangeIterator

public interface EventListenerIterator
extends RangeIterator

Allows easy iteration through a list of EventListeners with nextEventListener as well as a skip method inherited from RangeIterator.


Method Summary
 EventListener nextEventListener()
          Returns the next EventListener in the iteration.
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

nextEventListener

EventListener nextEventListener()
Returns the next EventListener in the iteration.

Returns:
the next EventListener in the iteration.
Throws:
java.util.NoSuchElementException - if iteration has no more EventListeners.


Copyright © 2009 Day Software. All Rights Reserved.