Constructor and Description |
---|
EitherComprehender() |
Modifier and Type | Method and Description |
---|---|
Either |
empty() |
java.lang.Object |
filter(Either t,
java.util.function.Predicate p) |
java.lang.Object |
flatMap(Either t,
java.util.function.Function fn) |
java.lang.Class |
getTargetClass() |
java.lang.Object |
map(Either t,
java.util.function.Function fn) |
Either |
of(java.lang.Object o) |
java.lang.Object |
resolveForCrossTypeFlatMap(com.aol.cyclops.types.extensability.Comprehender comp,
Either apply) |
public java.lang.Object filter(Either t, java.util.function.Predicate p)
filter
in interface com.aol.cyclops.types.extensability.Comprehender<Either>
public java.lang.Object map(Either t, java.util.function.Function fn)
map
in interface com.aol.cyclops.types.extensability.Comprehender<Either>
public java.lang.Object flatMap(Either t, java.util.function.Function fn)
flatMap
in interface com.aol.cyclops.types.extensability.Comprehender<Either>
public Either of(java.lang.Object o)
of
in interface com.aol.cyclops.types.extensability.Comprehender<Either>
public Either empty()
empty
in interface com.aol.cyclops.types.extensability.Comprehender<Either>
public java.lang.Class getTargetClass()
getTargetClass
in interface com.aol.cyclops.types.extensability.Comprehender<Either>