パッケージ net.ririfa.beacon
インタフェース ReturnableHandler<T extends net.ririfa.beacon.ReturnableEvent<R>,R>
- 型パラメータ:
T- the type of the returnable event to be handledR- the type of the return value
- 機能インタフェース
- これは機能インタフェースなので、ラムダ式またはメソッド参照の割当てターゲットとして使用できます。
@FunctionalInterface
public interface ReturnableHandler<T extends net.ririfa.beacon.ReturnableEvent<R>,R>
Functional interface representing a handler for returnable events of type T.
-
メソッドの概要
-
メソッドの詳細
-
handle
Handles the given returnable event and returns a result.- パラメータ:
event- the returnable event to be handled- 戻り値:
- the result of handling the event
-