Class

org.specs2.fp

EitherOps

Related Doc: package fp

Permalink

final class EitherOps[A, B] extends AnyVal

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

Instance Constructors

  1. new EitherOps(eab: Either[A, B])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. def ap[AA >: A, BB >: B, C](that: Either[AA, (BB) ⇒ C]): Either[AA, C]

    Permalink
  5. final def append[AA >: A, BB >: B](that: Either[AA, BB])(implicit BB: Semigroup[BB]): Either[AA, BB]

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def bimap[C, D](fa: (A) ⇒ C, fb: (B) ⇒ D): Either[C, D]

    Permalink
  8. val eab: Either[A, B]

    Permalink
  9. def ensure[AA >: A](onFailure: ⇒ AA)(f: (B) ⇒ Boolean): Either[AA, B]

    Permalink
  10. def exists(f: (B) ⇒ Boolean): Boolean

    Permalink
  11. def flatMap[AA >: A, D](f: (B) ⇒ Either[AA, D]): Either[AA, D]

    Permalink
  12. def foldLeft[C](c: C)(f: (C, B) ⇒ C): C

    Permalink
  13. def forall(f: (B) ⇒ Boolean): Boolean

    Permalink
  14. def foreach(f: (B) ⇒ Unit): Unit

    Permalink
  15. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  16. def getOrElse[BB >: B](default: ⇒ BB): BB

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def leftMap[C](f: (A) ⇒ C): Either[C, B]

    Permalink
  19. def map[C](f: (B) ⇒ C): Either[A, C]

    Permalink
  20. def orElse[C, BB >: B](fallback: ⇒ Either[C, BB]): Either[C, BB]

    Permalink
  21. def recover[BB >: B](pf: PartialFunction[A, BB]): Either[A, BB]

    Permalink
  22. def recoverWith[AA >: A, BB >: B](pf: PartialFunction[A, Either[AA, BB]]): Either[AA, BB]

    Permalink
  23. def show[AA >: A, BB >: B](implicit AA: Show[AA], BB: Show[BB]): String

    Permalink
  24. def toList: List[B]

    Permalink
  25. def toOption: Option[B]

    Permalink
  26. def toString(): String

    Permalink
    Definition Classes
    Any
  27. def toTry(implicit ev: <:<[A, Throwable]): Try[B]

    Permalink
  28. def traverse[F[_], AA >: A, D](f: (B) ⇒ F[D])(implicit F: Applicative[F]): F[Either[AA, D]]

    Permalink
  29. def valueOr[BB >: B](f: (A) ⇒ BB): BB

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped