implicit final
class
EitherOps[L, R] extends AnyVal
Instance Constructors
-
new
EitherOps(either: Either[L, R])
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
final
def
asInstanceOf[T0]: T0
-
def
bimap[M, S](lf: (L) ⇒ M, rf: (R) ⇒ S): Either[M, S]
-
val
either: Either[L, R]
-
def
getClass(): Class[_ <: AnyVal]
-
final
def
isInstanceOf[T0]: Boolean
-
def
leftFlatMap(f: (L) ⇒ Either[L, R]): Either[L, R]
-
def
leftMap[M](f: (L) ⇒ M): Either[M, R]
-
def
leftOr(rl: (R) ⇒ L): L
-
def
rescue(pf: PartialFunction[L, R]): Either[L, R]
-
def
rescue(lr: (L) ⇒ R): R
-
def
rightFlatMap(f: (R) ⇒ Either[L, R]): Either[L, R]
-
def
rightMap[S](f: (R) ⇒ S): Either[L, S]
-
def
rightOr(lr: (L) ⇒ R): R
-
def
tap(l: (L) ⇒ Unit, r: (R) ⇒ Unit): Either[L, R]
-
def
toString(): String
-
def
toTry(implicit ev: <:<[L, Throwable]): Try[R]
-
def
valueOr(pf: PartialFunction[L, R]): Either[L, R]
-
def
valueOr(lr: (L) ⇒ R): R
Inherited from AnyVal
Inherited from NotNull
Inherited from Any