Package org.bitcoinj.utils
Class ListenerRegistration<T>
java.lang.Object
org.bitcoinj.utils.ListenerRegistration<T>
A simple wrapper around a listener and an executor, with some utility methods.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> boolean
removeFromList
(T listener, List<? extends ListenerRegistration<T>> list) Returns true if the listener was removed, else false.
-
Field Details
-
listener
-
executor
-
-
Constructor Details
-
ListenerRegistration
-
-
Method Details
-
removeFromList
Returns true if the listener was removed, else false.
-