public class Listeners.ListenerHolder extends Object implements Listener<T>
Modifier and Type | Method and Description |
---|---|
void |
accept(T event) |
void |
close()
Closes the listener.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
andThen
public void accept(T event)
accept
in interface java.util.function.Consumer<T>
public void close()
Listener
close
in interface Listener<T>
close
in interface AutoCloseable
Copyright © 2023. All Rights Reserved.