パッケージ net.ririfa.beacon

インタフェース Handler<T>

型パラメータ:
T - the type of the event to be handled
機能インタフェース
これは機能インタフェースなので、ラムダ式またはメソッド参照の割当てターゲットとして使用できます。

@FunctionalInterface public interface Handler<T>
Functional interface representing a handler for events of type T.
  • メソッドの概要

    修飾子とタイプ
    メソッド
    説明
    void
    handle(T event)
    Handles the given event.
  • メソッドの詳細

    • handle

      void handle(T event)
      Handles the given event.
      パラメータ:
      event - the event to be handled