| 程序包 | 说明 |
|---|---|
| com.firefly.utils.collection | |
| com.firefly.utils.function |
| 限定符和类型 | 方法和说明 |
|---|---|
V |
ConcurrentReferenceHashMap.get(K key,
Func1<K,V> newInstanceFunc) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T1> Func1<T1,Void> |
Actions.toFunc(Action1<T1> action)
Converts an
Action1 to a function that calls the action and returns null. |
static <T1,R> Func1<T1,R> |
Actions.toFunc(Action1<T1> action,
R result)
Converts an
Action1 to a function that calls the action and returns a specified value. |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T0,R> FuncN<R> |
Functions.fromFunc(Func1<? super T0,? extends R> f)
|
Copyright © 2016. All rights reserved.