implicit final class RightBiasedEither[A, B] extends AnyVal
- Source
- BackendReporting.scala
- Alphabetic
- By Inheritance
- RightBiasedEither
- AnyVal
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to any2stringadd[RightBiasedEither[A, B]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (RightBiasedEither[A, B]) ⇒ Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): RightBiasedEither[A, B]
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to Ensuring[RightBiasedEither[A, B]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
get: B
Get the value, fail with an assertion if this is an error.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
orThrow: B
Get the right value of an
Either
by throwing a potential error message.Get the right value of an
Either
by throwing a potential error message. Can simplify the implementation of methods that act on multipleEither
instances. Instead of flat-mapping, the first error can be collected astryEither { eitherOne.orThrow .... eitherTwo.orThrow ... eitherThree.orThrow }
-
def
toString(): String
- Definition Classes
- Any
- val v: Either[A, B]
- def withFilter(f: (B) ⇒ Boolean)(implicit empty: A): Either[A, B]
-
def
→[B](y: B): (RightBiasedEither[A, B], B)
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to ArrowAssoc[RightBiasedEither[A, B]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from RightBiasedEither[A, B] to StringFormat[RightBiasedEither[A, B]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
The Scala compiler and reflection APIs.