public static interface hiU.FunctionEx<T,R,X extends Exception>
引数なしで戻り値のあるラムダ式(Exception可)の為のものです。
次の様な形でラムダ式を受け取る関数が作成できます。
// 関数
void myfunc(hiU.FunctionEx<String,boolean,Exception> func_)(
boolean kekka=func_.apply("abc");
}
// 呼び出し
myfunc((s)->{ doSomeThing(s);return true;}):
| 修飾子とタイプ | メソッドと説明 |
|---|---|
R |
apply(T arg_) |