final case class Right[+L, +R](value: R)(implicit exceptionHandler: ExceptionHandler[L]) extends IO[L, R] with Product with Serializable
********************* ********************** ********************** ******** RIGHT ******* ********************** ********************** **********************
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Right
- Serializable
- Serializable
- Product
- Equals
- IO
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Right(value: R)(implicit exceptionHandler: ExceptionHandler[L])
Type Members
-
class
WithFilter extends AnyRef
- Definition Classes
- IO
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def and[L2 >: L, B](io: ⇒ IO[L2, B])(implicit arg0: ExceptionHandler[L2]): IO[L2, B]
- def andThen[B](io: ⇒ B): IO[L, B]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exceptionHandler: ExceptionHandler[_]
- def exists(f: (R) ⇒ Boolean): Boolean
- def filter(p: (R) ⇒ Boolean): IO[L, R]
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- def flatMap[F >: L, B](f: (R) ⇒ IO[F, B])(implicit arg0: ExceptionHandler[F]): IO[F, B]
- def flatten[F, B](implicit ev: <:<[R, IO[F, B]]): IO[F, B]
- def foreach[B](f: (R) ⇒ B): Unit
- def get: R
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrElse[B >: R](default: ⇒ B): B
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLeft: Boolean
- def isRight: Boolean
- def left: Left[Throwable, L]
- def map[B](f: (R) ⇒ B): IO[L, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def onCompleteSideEffect(f: (IO[L, R]) ⇒ Unit): IO[L, R]
- def onLeftSideEffect(f: (Left[L, R]) ⇒ Unit): Right[L, R]
- def onRightSideEffect(f: (R) ⇒ Unit): Right[L, R]
- def orElse[F >: L, B >: R](default: ⇒ IO[F, B])(implicit arg0: ExceptionHandler[F]): Right[F, B]
- def recover[B >: R](f: PartialFunction[L, B]): IO[L, B]
- def recoverWith[F >: L, B >: R](f: PartialFunction[L, IO[F, B]])(implicit arg0: ExceptionHandler[F]): IO[F, B]
- def right: Right[Throwable, R]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBag[BAG[_]](implicit bag: Bag[BAG]): BAG[R]
- Definition Classes
- IO
-
def
toDefer[L2 >: L](implicit arg0: ExceptionHandler[L2]): Defer[L2, R]
- Definition Classes
- IO
- def toEither: Either[L, R]
- def toFuture: Future[R]
- def toOption: Option[R]
- def toOptionValue: IO[L, Option[R]]
- def toTry: Try[R]
-
def
transform[B](f: (R) ⇒ B): IO[L, B]
Difference between map and transform is that transform does not recovery from exception if the function F throws an Exception.
- val value: R
- def valueOrElse[B](f: (R) ⇒ B, orElse: ⇒ B): B
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
withFilter(p: (R) ⇒ Boolean): WithFilter
- Definition Classes
- IO
- Annotations
- @inline()