IN1 - type of first inputIN2 - type of second inputR - type of return resultpublic static class SupplierTask.SupplierTask2<IN1,IN2,R> extends Object implements SupplierTask<R>
SupplierTask.SupplierTask0<R>, SupplierTask.SupplierTask1<IN,R>, SupplierTask.SupplierTask2<IN1,IN2,R>| Constructor and Description |
|---|
SupplierTask2(CompletableFuture<IN1> cf1,
CompletableFuture<IN2> cf2,
BiFunction<IN1,IN2,R> fn) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<R> |
apply()
Creates a CompletableFuture around the lambda expression.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetcomplete, complete, get, getName, light, name, runSpawnedpublic SupplierTask2(CompletableFuture<IN1> cf1, CompletableFuture<IN2> cf2, BiFunction<IN1,IN2,R> fn)
@Light public CompletableFuture<R> apply()
SupplierTaskapply in interface SupplierTask<R>Copyright © 2021. All rights reserved.