Interface IEventListener<T extends Event>

  • Type Parameters:
    T - the type of events being listened to
    All Superinterfaces:
    Consumer<T>, EventListener
    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 interface IEventListener<T extends Event>
    extends Consumer<T>, EventListener
    Version of EventListener that can be used as a lambda consumer.
    Since:
    2.0.0
    Author:
    Pascal Essiembre