public interface ListenerManager<K,V> extends Listenable<K>
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Remove all listeners
|
void |
forEach(Consumer<V> function)
Utility - apply the given function to each listener.
|
default boolean |
isEmpty() |
int |
size()
Return the number of listeners
|
addListener, addListener, removeListenervoid clear()
int size()
void forEach(Consumer<V> function)
function - function to call for each listenerdefault boolean isEmpty()
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.