| 程序包 | 说明 |
|---|---|
| com.firefly.utils.function |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T0,T1> FuncN<Void> |
Functions.fromAction(Action2<? super T0,? super T1> f)
|
static <T1,T2> Func2<T1,T2,Void> |
Actions.toFunc(Action2<T1,T2> action)
Converts an
Action2 to a function that calls the action and returns null. |
static <T1,T2,R> Func2<T1,T2,R> |
Actions.toFunc(Action2<T1,T2> action,
R result)
Converts an
Action2 to a function that calls the action and returns a specified value. |
Copyright © 2016. All rights reserved.