public class ListenerRegistration<T>
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.util.concurrent.Executor |
executor |
T |
listener |
Constructor and Description |
---|
ListenerRegistration(T listener,
java.util.concurrent.Executor executor) |
Modifier and Type | Method and Description |
---|---|
static <T> boolean |
removeFromList(T listener,
java.util.List<? extends ListenerRegistration<T>> list)
Returns true if the listener was removed, else false.
|
public final T listener
public final java.util.concurrent.Executor executor
public ListenerRegistration(T listener, java.util.concurrent.Executor executor)
public static <T> boolean removeFromList(T listener, java.util.List<? extends ListenerRegistration<T>> list)