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

sealed abstract class Either[+A, +B] extends Product with Serializable

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Either
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. 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

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
  2. abstract def isLeft: Boolean
  3. abstract def isRight: Boolean
  4. abstract def productArity: Int
  5. abstract def productElement(n: Int): Any

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##: Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Either[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: (Either[A, B]) => Boolean, msg: => Any): Either[A, B]
  10. def ensuring(cond: (Either[A, B]) => Boolean): Either[A, B]
  11. def ensuring(cond: Boolean, msg: => Any): Either[A, B]
  12. def ensuring(cond: Boolean): Either[A, B]
  13. final def eq(arg0: AnyRef): Boolean
  14. def equals(arg0: AnyRef): Boolean
  15. def exists(p: (B) => Boolean): Boolean
  16. def filterOrElse[A1 >: A](p: (B) => Boolean, zero: => A1): Either[A1, B]
  17. def finalize(): Unit
  18. def flatMap[A1 >: A, B1](f: (B) => Either[A1, B1]): Either[A1, B1]
  19. def flatten[A1 >: A, B1](implicit ev: <:<[B, Either[A1, B1]]): Either[A1, B1]
  20. def fold[C](fa: (A) => C, fb: (B) => C): C
  21. def forall(f: (B) => Boolean): Boolean
  22. def foreach[U](f: (B) => U): Unit
  23. final def getClass(): Class[_ <: AnyRef]
  24. def getOrElse[B1 >: B](or: => B1): B1
  25. def hashCode(): Int
  26. final def isInstanceOf[T0]: 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 productElementName(n: Int): String
  37. def productElementNames: Iterator[String]
  38. def productIterator: Iterator[Any]
  39. def productPrefix: String
  40. def swap: Either[B, A]
  41. final def synchronized[T0](arg0: => T0): T0
  42. def toOption: Option[B]
  43. def toSeq: collection.immutable.Seq[B]
  44. def toString(): String
  45. def toTry(implicit ev: <:<[A, Throwable]): Try[B]
  46. final def wait(): Unit
  47. final def wait(arg0: Long, arg1: Int): Unit
  48. final def wait(arg0: Long): Unit

Ungrouped