public static final class EvalType.Box<T> extends java.lang.Object implements EvalType<T>
EvalType.µ, EvalType.Box<T>
com.aol.cyclops.control.Eval.Module
com.aol.cyclops.types.applicative.ApplicativeFunctor.Applicatives, com.aol.cyclops.types.applicative.ApplicativeFunctor.ApplyFunctions<T>
Constructor and Description |
---|
Box() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
<R> com.aol.cyclops.control.Eval<R> |
flatMap(java.util.function.Function<? super T,? extends com.aol.cyclops.types.MonadicValue<? extends R>> mapper) |
T |
get() |
int |
hashCode() |
<R> com.aol.cyclops.control.Eval<R> |
map(java.util.function.Function<? super T,? extends R> mapper) |
com.aol.cyclops.control.Eval<T> |
narrow() |
java.lang.String |
toString() |
<T> com.aol.cyclops.control.Eval<T> |
unit(T unit) |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
always, fromIterable, fromPublisher, later, narrow, narrowK, now, widen
accumulate, accumulate, accumulate, cast, coflatMap, combine, combine, combineEager, filter, filterNot, flatMapIterable, flatMapPublisher, narrow, nest, notNull, ofType, peek, sequence, sequence, steps, trampoline, visit, zip, zip, zip, zip, zip, zip, zip
applyFunctions
collect, fold, fold, generate, iterate, iterator, mapReduce, mkString, newSubscriber, of, stream, subscribe, test, toDequeX, toEvalAlways, toEvalLater, toEvalNow, toFeatureToggle, toFutureStream, toFutureStream, toIor, toLazyImmutable, toList, toListX, toMaybe, toMutable, toPBagX, toPOrderedSetX, toPQueueX, toPSetX, toPStackX, toPVectorX, toQueueX, toSetX, toSimpleReact, toSimpleReact, toSortedSetX, toTry, toTry, toTry, toXor, toXor, unapply
endsWith, endsWithIterable, findAny, findFirst, firstValue, foldable, foldRight, foldRight, foldRight, foldRightMapToType, get, groupBy, join, join, join, mapReduce, print, print, printErr, printOut, reduce, reduce, reduce, reduce, reduce, reduce, reduce, schedule, scheduleFixedDelay, scheduleFixedRate, single, single, singleOptional, startsWith, startsWithIterable, toConcurrentLazyCollection, toConcurrentLazyStreamable, toLazyCollection, validate, xMatch
collect, fromSupplier, isPresent, orElse, orElseGet, orElseThrow, toAtomicReference, toCompletableFuture, toCompletableFutureAsync, toCompletableFutureAsync, toFutureW, toFutureWAsync, toFutureWAsync, toOptional, toOptionalAtomicReference, toStream
public com.aol.cyclops.control.Eval<T> narrow()
public <T> com.aol.cyclops.control.Eval<T> unit(T unit)
public <R> com.aol.cyclops.control.Eval<R> map(java.util.function.Function<? super T,? extends R> mapper)
map
in interface com.aol.cyclops.control.Eval<T>
map
in interface com.aol.cyclops.types.ConvertableFunctor<T>
map
in interface com.aol.cyclops.types.Functor<T>
map
in interface com.aol.cyclops.types.MonadicValue<T>
map
in interface com.aol.cyclops.types.MonadicValue1<T>
public <R> com.aol.cyclops.control.Eval<R> flatMap(java.util.function.Function<? super T,? extends com.aol.cyclops.types.MonadicValue<? extends R>> mapper)
public T get()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object