T - Event typepublic interface ListenerHandle<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.
|
T |
getListener()
Gets this handle's listener.
|
T getListener()
void close()
close in interface java.lang.AutoCloseableclose in interface java.io.Closeable