public class MonadWrapper<T> extends java.lang.Object implements Monad<T>, Decomposable
Constructor and Description |
---|
MonadWrapper(java.lang.Object monad) |
MonadWrapper(java.lang.Object monad,
java.lang.Class orgType) |
Modifier and Type | Method and Description |
---|---|
<X> AnyMSeq<X> |
anyMSeq() |
<X> AnyMValue<X> |
anyMValue() |
static <T> Monad<T> |
of(java.lang.Object of)
public MonadWrapper
|
ReactiveSeq<T> |
sequence() |
java.lang.String |
toString() |
java.lang.Object |
unwrap()
unwrap will return any Wrapped typed.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyM, bind, cycle, empty, filter, flatMapToStream, flatten, fromStream, get, getFilterable, getFunctor, liftAndBind, map, peek, reduceM, replicateM, stream, streamedMonad, unit, withFilterable, withFunctor, withMonad
cast, patternMatch, trampoline
filterNot, notNull, ofType
unapply
public MonadWrapper(java.lang.Object monad)
public MonadWrapper(java.lang.Object monad, java.lang.Class orgType)
public static <T> Monad<T> of(java.lang.Object of)
public java.lang.Object unwrap()
Decomposable
unwrap
in interface Monad<T>
unwrap
in interface Decomposable
unwrap
in interface WrappingFunctor<T>
public ReactiveSeq<T> sequence()
public java.lang.String toString()
toString
in class java.lang.Object