Package nxt.util
Class Listeners<T,E extends java.lang.Enum<E>>
- java.lang.Object
-
- nxt.util.Listeners<T,E>
-
public final class Listeners<T,E extends java.lang.Enum<E>> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Listeners()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addListener(Listener<T> listener, java.lang.Enum<E> eventType)
void
notify(T t, java.lang.Enum<E> eventType)
boolean
removeListener(Listener<T> listener, java.lang.Enum<E> eventType)
-