-
Method Summary
void
void
Utility - apply the given function to each listener.
default boolean
int
Return the number of listeners
-
Method Details
-
clear
void clear()
Remove all listeners
-
size
int size()
Return the number of listeners
- Returns:
- number
-
forEach
Utility - apply the given function to each listener. The function receives
the listener as an argument.
- Parameters:
function
- function to call for each listener
-
isEmpty
default boolean isEmpty()