@FunctionalInterface public interface 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.
|
defnotifyListeners(listeners : L[], action : Consumer<L>) : voidwith<L extends EventListener>
ListenerNotifierL - 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 © 2021 the original authors or authors.