Package ea.event

Class EventListeners<T>

java.lang.Object
ea.event.EventListeners<T>

public final class EventListeners<T> extends Object
  • Constructor Details

    • EventListeners

      public EventListeners()
    • EventListeners

      public EventListeners(Supplier<EventListeners<T>> parentSupplier)
  • Method Details

    • add

      @API public void add(T listener)
    • remove

      @API public void remove(T listener)
    • contains

      @API public boolean contains(T listener)
    • invoke

      @API public void invoke(Consumer<T> invoker)
    • isEmpty

      @API public boolean isEmpty()
    • clear

      @API public void clear()