Packages

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

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Or
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def canEqual(that: Any): Boolean
    Definition Classes
    Equals
  2. abstract def cata[C](l: (Left[A]) ⇒ C, r: (Right[B]) ⇒ C): C
  3. abstract def fold[C](l: (A) ⇒ C, r: (B) ⇒ C): C
  4. abstract def productArity: Int
    Definition Classes
    Product
  5. abstract def productElement(n: Int): Any
    Definition Classes
    Product

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def >>[C >: A, D](r: ⇒ Or[C, D]): Or[C, D]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def bimap[C, D](l: (A) ⇒ C, r: (B) ⇒ D): Or[C, D]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def exists(f: (B) ⇒ Boolean): Boolean
  11. final def flatMap[C >: A, D](f: (B) ⇒ Or[C, D]): Or[C, D]
  12. final def flatten[C, D](implicit ev: <:<[Or[A, B], Or[C, Or[C, D]]]): Or[C, D]
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def isLeft: Boolean
  17. final def isRight: Boolean
  18. final def leftMap[C, D >: B](f: (A) ⇒ C): Or[C, D]
  19. final def leftOption: Option[A]
  20. final def map[C >: A, D](f: (B) ⇒ D): Or[C, D]
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def productIterator: Iterator[Any]
    Definition Classes
    Product
  25. def productPrefix: String
    Definition Classes
    Product
  26. final def recover[C >: B](f: (A) ⇒ C): C
  27. final def set[C >: A, D](d: ⇒ D): Or[C, D]
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. final def test[C >: A](f: (B) ⇒ Option[C]): Or[C, B]
  30. final def toEither: Either[A, B]
  31. final def toOption: Option[B]
  32. final def toOptionMap[C](f: (B) ⇒ C): Option[C]
  33. def toString(): String
    Definition Classes
    AnyRef → Any
  34. final def toTri: Tri[A, B]
  35. final def toTriFlatMap[C >: A, D](f: (B) ⇒ Tri[C, D]): Tri[C, D]
  36. final def toTriMap[C](f: (B) ⇒ C): Tri[A, C]
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped