| Package | Description |
|---|---|
| com.landawn.abacus.util | |
| com.landawn.abacus.util.stream |
| Modifier and Type | Method and Description |
|---|---|
static <R,R2,R3,R4> |
N.callInParallel(Callable<R> command,
Callable<R2> command2,
Callable<R3> command3,
Callable<R4> command4)
Executes and complete the input commands in parallel.
|
static <T1,T2,T3,T4> |
Tuple.of(T1 _1,
T2 _2,
T3 _3,
T4 _4) |
Tuple.Tuple4<T4,T3,T2,T1> |
Tuple.Tuple4.reverse() |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3,T4,E extends Exception> |
Futures.combine(Future<? extends T1> cf1,
Future<? extends T2> cf2,
Future<? extends T3> cf3,
Future<? extends T4> cf4) |
static <A,B,C,D> QuadFunction<A,B,C,D,Tuple.Tuple4<A,B,C,D>> |
Fn.tuple4() |
| Modifier and Type | Method and Description |
|---|---|
static <T> List<T> |
Tuple.toList(Tuple.Tuple4<? extends T,? extends T,? extends T,? extends T> tp) |
| Modifier and Type | Method and Description |
|---|---|
<U,R,E extends Exception> |
ContinuableFuture.callAfterBoth(ContinuableFuture<U> other,
Throwables.Function<? super Tuple.Tuple4<T,? super Exception,U,? super Exception>,R,E> action)
Call after both.
|
static <T1,T2,R> ContinuableFuture<R> |
Futures.compose(Future<T1> cf1,
Future<T2> cf2,
Throwables.BiFunction<? super Future<T1>,? super Future<T2>,R,Exception> zipFunctionForGet,
Throwables.Function<? super Tuple.Tuple4<Future<T1>,Future<T2>,Long,TimeUnit>,R,Exception> zipFunctionTimeoutGet) |
<U,E extends Exception> |
ContinuableFuture.runAfterBoth(ContinuableFuture<U> other,
Throwables.Consumer<? super Tuple.Tuple4<T,? super Exception,U,? super Exception>,E> action)
Run after both.
|
| Modifier and Type | Method and Description |
|---|---|
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
static <T,A1,A2,A3,A4,R1,R2,R3,R4> |
Collectors.combine(Collector<? super T,A1,R1> collector1,
Collector<? super T,A2,R2> collector2,
Collector<? super T,A3,R3> collector3,
Collector<? super T,A4,R4> collector4) |
Copyright © 2021. All rights reserved.