implicit final class EitherOps[L, R] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EitherOps
- AnyVal
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new EitherOps(x: Either[L, R])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (EitherOps[L, R], B)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def ensuring(cond: (EitherOps[L, R]) ⇒ Boolean, msg: ⇒ Any): EitherOps[L, R]
- def ensuring(cond: (EitherOps[L, R]) ⇒ Boolean): EitherOps[L, R]
- def ensuring(cond: Boolean, msg: ⇒ Any): EitherOps[L, R]
- def ensuring(cond: Boolean): EitherOps[L, R]
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
opt: Option[R]
- Annotations
- @inline()
-
def
toString(): String
- Definition Classes
- Any
- def →[B](y: B): (EitherOps[L, R], B)
Deprecated Value Members
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from EitherOps[L, R] to StringFormat[EitherOps[L, R]] 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.