Scala Standard Library 2.13.1 - 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. def formatted(fmtstr: String): String
  24. final def getClass(): Class[_ <: AnyRef]
  25. def getOrElse[B1 >: B](or: => B1): B1
  26. def hashCode(): Int
  27. final def isInstanceOf[T0]: Boolean
  28. def joinLeft[A1 >: A, B1 >: B, C](implicit ev: <:<[A1, Either[C, B1]]): Either[C, B1]
  29. def joinRight[A1 >: A, B1 >: B, C](implicit ev: <:<[B1, Either[A1, C]]): Either[A1, C]
  30. def left: LeftProjection[A, B]
  31. def map[B1](f: (B) => B1): Either[A, B1]
  32. def merge: B
  33. final def ne(arg0: AnyRef): Boolean
  34. final def notify(): Unit
  35. final def notifyAll(): Unit
  36. def orElse[A1 >: A, B1 >: B](or: => Either[A1, B1]): Either[A1, B1]
  37. def productElementName(n: Int): String
  38. def productElementNames: Iterator[String]
  39. def productIterator: Iterator[Any]
  40. def productPrefix: String
  41. def swap: Either[B, A]
  42. final def synchronized[T0](arg0: => T0): T0
  43. def toOption: Option[B]
  44. def toSeq: collection.immutable.Seq[B]
  45. def toString(): String
  46. def toTry(implicit ev: <:<[A, Throwable]): Try[B]
  47. final def wait(): Unit
  48. final def wait(arg0: Long, arg1: Int): Unit
  49. final def wait(arg0: Long): Unit

Ungrouped