public class SequenceListenerNotifier extends Object implements ListenerNotifier
Modifier and Type | Method and Description |
---|---|
<L extends EventListener> |
notifyListeners(listeners : L[],
action : Consumer<L>)
Build a call policy for the given list of listeners and call them.
|
publicdef
notifyListeners(listeners : L[], action : Consumer<L>) : voidwith
<L extends EventListener>
ListenerNotifier
notifyListeners
in interface ListenerNotifier
L
- the type of event listener to support.listeners
- is the list of listeners to call.action
- is the action to apply on each listener.Copyright © 2020 the original authors or authors.