T - Event typepublic interface EventListenerHandle<T>
extends java.io.Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes (unregisters) the event listener from the list it was registered
to.
|
EventListener<T> |
getListener()
Gets this handle's listener.
|
EventListener<T> getListener()
void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable