Scala Standard Library 2.13.15 - scala.util.Right (original) (raw)

final case class Right[+A, +B](value: B) extends Either[A, B] with Product with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Right
  2. Either
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any

Implicitly

  1. by MergeableEither

  2. by any2stringadd

  3. by StringFormat

  4. by Ensuring

  5. by ArrowAssoc

  6. Hide All

  7. Show All

Visibility

  1. Public
  2. Protected

Instance Constructors

  1. new Right(value: B)

Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Right[A, B], B)
  5. final def ==(arg0: Any): Boolean
  6. final def asInstanceOf[T0]: T0
  7. def clone(): AnyRef
  8. final def contains[B1 >: B](elem: B1): Boolean
  9. def ensuring(cond: (Right[A, B]) => Boolean, msg: => Any): Right[A, B]
  10. def ensuring(cond: (Right[A, B]) => Boolean): Right[A, B]
  11. def ensuring(cond: Boolean, msg: => Any): Right[A, B]
  12. def ensuring(cond: Boolean): Right[A, B]
  13. final def eq(arg0: AnyRef): Boolean
  14. def exists(p: (B) => Boolean): Boolean
  15. def filterOrElse[A1 >: A](p: (B) => Boolean, zero: => A1): Either[A1, B]
  16. def finalize(): Unit
  17. def flatMap[A1 >: A, B1](f: (B) => Either[A1, B1]): Either[A1, B1]
  18. def flatten[A1 >: A, B1](implicit ev: <:<[B, Either[A1, B1]]): Either[A1, B1]
  19. def fold[C](fa: (A) => C, fb: (B) => C): C
  20. def forall(f: (B) => Boolean): Boolean
  21. def foreach[U](f: (B) => U): Unit
  22. final def getClass(): Class[_ <: AnyRef]
  23. def getOrElse[B1 >: B](or: => B1): B1
  24. final def isInstanceOf[T0]: Boolean
  25. def isLeft: Boolean
  26. def isRight: Boolean
  27. def joinLeft[A1 >: A, B1 >: B, C](implicit ev: <:<[A1, Either[C, B1]]): Either[C, B1]
  28. def joinRight[A1 >: A, B1 >: B, C](implicit ev: <:<[B1, Either[A1, C]]): Either[A1, C]
  29. def left: LeftProjection[A, B]
  30. def map[B1](f: (B) => B1): Either[A, B1]
  31. def merge: B
  32. final def ne(arg0: AnyRef): Boolean
  33. final def notify(): Unit
  34. final def notifyAll(): Unit
  35. def orElse[A1 >: A, B1 >: B](or: => Either[A1, B1]): Either[A1, B1]
  36. def productElementNames: Iterator[String]
  37. def swap: Either[B, A]
  38. final def synchronized[T0](arg0: => T0): T0
  39. def toOption: Option[B]
  40. def toSeq: collection.immutable.Seq[B]
  41. def toTry(implicit ev: <:<[A, Throwable]): Try[B]
  42. val value: B
  43. final def wait(): Unit
  44. final def wait(arg0: Long, arg1: Int): Unit
  45. final def wait(arg0: Long): Unit
  46. def withLeft[A1 >: A]: Either[A1, B]

Inherited from Either[A, B]

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion MergeableEither fromRight[A, B] to MergeableEither[B]

Inherited by implicit conversion any2stringadd fromRight[A, B] to any2stringadd[Right[A, B]]

Inherited by implicit conversion StringFormat fromRight[A, B] to StringFormat[Right[A, B]]

Inherited by implicit conversion Ensuring fromRight[A, B] to Ensuring[Right[A, B]]

Inherited by implicit conversion ArrowAssoc fromRight[A, B] to ArrowAssoc[Right[A, B]]

Ungrouped