| 程序包 | 说明 |
|---|---|
| net.dongliu.commons.collection | |
| net.dongliu.commons.concurrent |
| 限定符和类型 | 方法和说明 |
|---|---|
static <A,B> Tuple2<A,B> |
TupleUtils.of(A a,
B b)
create tuple2
|
| 限定符和类型 | 方法和说明 |
|---|---|
static <A,B> CompletableFuture<Tuple2<A,B>> |
FutureUtils.combine(CompletableFuture<A> af,
CompletableFuture<B> bf)
combine two futures and return one future with result as Tuple2
|
Copyright © 2015. All rights reserved.