public class EventListenerIteratorAdapter extends RangeIteratorDecorator implements EventListenerIterator
Modifier and Type | Field and Description |
---|---|
static EventListenerIterator |
EMPTY
Static instance of an empty
EventListenerIterator . |
Constructor and Description |
---|
EventListenerIteratorAdapter(java.util.Collection collection)
Creates an iterator for the given collection.
|
EventListenerIteratorAdapter(java.util.Iterator iterator)
Creates an adapter for the given
Iterator . |
EventListenerIteratorAdapter(RangeIterator iterator)
Creates an adapter for the given
RangeIterator . |
Modifier and Type | Method and Description |
---|---|
EventListener |
nextEventListener()
Returns the next event listener.
|
getPosition, getSize, hasNext, next, remove, skip
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
public static final EventListenerIterator EMPTY
EventListenerIterator
.public EventListenerIteratorAdapter(RangeIterator iterator)
RangeIterator
.iterator
- iterator of EventListener
spublic EventListenerIteratorAdapter(java.util.Iterator iterator)
Iterator
.iterator
- iterator of EventListener
spublic EventListenerIteratorAdapter(java.util.Collection collection)
collection
- collection of EventListener
spublic EventListener nextEventListener()
nextEventListener
in interface EventListenerIterator
java.util.NoSuchElementException
- if there is no next event listenerCopyright © 2010 - 2020 Adobe. All Rights Reserved