Package com.norconex.commons.lang.event

# Interface EventListener<T extends Event>

Type Parameters:
  `T` - the type of events being listened to

All Superinterfaces:
  `Consumer<T>`, `EventListener`

All Known Subinterfaces:
  `IEventListener<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 interface EventListener<T extends Event> extends Consumer<T>, EventListener
Listener of `Event`s. Also an implementation of ``EventListener``, offering a lambda consumer.

Since:
  3.0.0 (renamed from `IEventListener`)

- ## Method Summary

  ### Methods inherited from interface java.util.function.Consumer

  `accept, andThen`