T
- event typepublic interface Listener<T> extends java.util.function.Consumer<T>, AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the listener.
|
accept, andThen
void close()
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.