R - type of return resultpublic static class SupplierTask.SupplierTask0<R> extends Object implements SupplierTask<R>
SupplierTask.SupplierTask0<R>, SupplierTask.SupplierTask1<IN,R>, SupplierTask.SupplierTask2<IN1,IN2,R>| Constructor and Description |
|---|
SupplierTask0(Supplier<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, runSpawned@Light public CompletableFuture<R> apply()
SupplierTaskapply in interface SupplierTask<R>Copyright © 2021. All rights reserved.