| 程序包 | 说明 |
|---|---|
| com.firefly.utils.function |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <R> FuncN<R> |
Functions.fromFunc(Func0<? extends R> f)
|
Copyright © 2016. All rights reserved.