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