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