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(Collection collection)
Creates an iterator for the given collection.
|
EventListenerIteratorAdapter(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, skipclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPosition, getSize, skipforEachRemaining, hasNext, next, removepublic static final EventListenerIterator EMPTY
EventListenerIterator.public EventListenerIteratorAdapter(RangeIterator iterator)
RangeIterator.iterator - iterator of EventListenerspublic EventListenerIteratorAdapter(Iterator iterator)
Iterator.iterator - iterator of EventListenerspublic EventListenerIteratorAdapter(Collection collection)
collection - collection of EventListenerspublic EventListener nextEventListener()
nextEventListener in interface EventListenerIteratorNoSuchElementException - if there is no next event listenerCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.