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 and Description
    `Listeners()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Listeners

          public Listeners()

  - ### Method Detail

    - #### addListener

          public boolean addListener(Listener<T> listener,
                                     java.lang.Enum<E> eventType)

    - #### removeListener

          public boolean removeListener(Listener<T> listener,
                                        java.lang.Enum<E> eventType)

    - #### notify

          public void notify(T t,
                             java.lang.Enum<E> eventType)