Packages

c

org.specs2.fp

EitherOps

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])

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. def ap[AA >: A, BB >: B, C](that: Either[AA, (BB) ⇒ C]): Either[AA, C]
  5. final def append[AA >: A, BB >: B](that: Either[AA, BB])(implicit BB: Semigroup[BB]): Either[AA, BB]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bimap[C, D](fa: (A) ⇒ C, fb: (B) ⇒ D): Either[C, D]
  8. val eab: Either[A, B]
  9. def ensure[AA >: A](onFailure: ⇒ AA)(f: (B) ⇒ Boolean): Either[AA, B]
  10. def exists(f: (B) ⇒ Boolean): Boolean
  11. def flatMap[AA >: A, D](f: (B) ⇒ Either[AA, D]): Either[AA, D]
  12. def foldLeft[C](c: C)(f: (C, B) ⇒ C): C
  13. def forall(f: (B) ⇒ Boolean): Boolean
  14. def foreach(f: (B) ⇒ Unit): Unit
  15. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  16. def getOrElse[BB >: B](default: ⇒ BB): BB
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def leftMap[C](f: (A) ⇒ C): Either[C, B]
  19. def map[C](f: (B) ⇒ C): Either[A, C]
  20. def orElse[C, BB >: B](fallback: ⇒ Either[C, BB]): Either[C, BB]
  21. def recover[BB >: B](pf: PartialFunction[A, BB]): Either[A, BB]
  22. def recoverWith[AA >: A, BB >: B](pf: PartialFunction[A, Either[AA, BB]]): Either[AA, BB]
  23. def show[AA >: A, BB >: B](implicit AA: Show[AA], BB: Show[BB]): String
  24. def toList: List[B]
  25. def toOption: Option[B]
  26. def toString(): String
    Definition Classes
    Any
  27. def toTry(implicit ev: <:<[A, Throwable]): Try[B]
  28. def traverse[F[_], AA >: A, D](f: (B) ⇒ F[D])(implicit F: Applicative[F]): F[Either[AA, D]]
  29. def valueOr[BB >: B](f: (A) ⇒ BB): BB

Inherited from AnyVal

Inherited from Any

Ungrouped