Class EventListenerList.EventListenerIterator<T extends Event>

java.lang.Object
org.apache.commons.configuration2.event.EventListenerList.EventListenerIterator<T>
Type Parameters:
T - the event type
All Implemented Interfaces:
Iterator<EventListener<? super T>>
Enclosing class:
EventListenerList

public static final class EventListenerList.EventListenerIterator<T extends Event> extends Object implements Iterator<EventListener<? super T>>
A special Iterator implementation used by the getEventListenerIterator() method. This iterator returns only listeners compatible with a specified event type. It has a convenience method for invoking the current listener in the iteration with an event.
  • Method Details