public class CompletableFutureComprehender extends java.lang.Object implements Comprehender<java.util.concurrent.CompletableFuture>
| Constructor and Description |
|---|
CompletableFutureComprehender() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.CompletableFuture |
empty() |
java.util.concurrent.CompletableFuture |
flatMap(java.util.concurrent.CompletableFuture t,
java.util.function.Function fn) |
java.lang.Class |
getTargetClass() |
boolean |
instanceOfT(java.lang.Object apply) |
java.lang.Object |
map(java.util.concurrent.CompletableFuture t,
java.util.function.Function fn)
Wrapper around map
|
java.util.concurrent.CompletableFuture |
of(java.lang.Object o) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteflatMap, filter, liftAndFlatMap, liftObject, priority, resolveForCrossTypeFlatMap, unwrap, unwrapOtherMonadTypespublic java.lang.Class getTargetClass()
getTargetClass in interface Comprehender<java.util.concurrent.CompletableFuture>public java.lang.Object map(java.util.concurrent.CompletableFuture t,
java.util.function.Function fn)
Comprehendermap in interface Comprehender<java.util.concurrent.CompletableFuture>t - Monadic type being wrappedfn - JDK Function to wrap t.map( i -> fn.apply(i)); public java.util.concurrent.CompletableFuture flatMap(java.util.concurrent.CompletableFuture t,
java.util.function.Function fn)
flatMap in interface Comprehender<java.util.concurrent.CompletableFuture>public boolean instanceOfT(java.lang.Object apply)
instanceOfT in interface Comprehender<java.util.concurrent.CompletableFuture>public java.util.concurrent.CompletableFuture of(java.lang.Object o)
of in interface Comprehender<java.util.concurrent.CompletableFuture>public java.util.concurrent.CompletableFuture empty()
empty in interface Comprehender<java.util.concurrent.CompletableFuture>