Packages

implicit final class EitherOpsFor211[+A, +B] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EitherOpsFor211
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EitherOpsFor211(source: Either[A, B])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def flatMapRight[A1 >: A, B1](f: (B) => Either[A1, B1]): Either[A1, B1]

    Binds the given function across Right.

    Binds the given function across Right.

    f

    The function to bind across Right.

  6. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  7. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  8. def mapRight[B1](f: (B) => B1): Either[A, B1]

    The given function is applied if this is a Right.

    The given function is applied if this is a Right.

    Right(12).map(x => "flower") // Result: Right("flower")
    Left(12).map(x => "flower")  // Result: Left(12)
  9. val source: Either[A, B]
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped