Interface ListenerList.EventFirerer<T>

  • Type Parameters:
    T - the listener type.
    Enclosing class:
    ListenerList<T>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface ListenerList.EventFirerer<T>
    This is a function that can be invoked for every listener.
    • Method Detail

      • fire

        void fire​(T listener)
        Should fire the event for the given listener.
        Parameters:
        listener - The listener to fire the event for.