-
Type Parameters:
-
T -
-
All Superinterfaces:
-
ListenerNotifier
class
SmartListenerCollection<T>
extends
java.lang.Object
implements
ListenerNotifier
A smart implementation of an event listeners' collection. This collection knows how to schedule the calls to the listeners.
-
Maven Group Identifier:
-
-
Maven Artifact Identifier:
-
-
Since:
-
Constructor Summary
Action Summary
Constructor Details
-
new(ListenerNotifier)
-
new(ListenerNotifier)
Constructor.
-
Parameters:
-
notifier -
Action Details
-
notifyListeners(Class<T>,Consumer<T>)
-
def notifyListeners(Class<T>,Consumer<T>) with L extends java.util.EventListener
Build a call policy for the given list of listeners and call them.
-
Parameters:
-
<L> -
type -
action -
-
notifyListeners(EventListener,Consumer<T>)
-
def notifyListeners(EventListener,Consumer<T>) with L extends java.util.EventListener