final class DrxTry[A] extends AnyVal
- Source
- wrapper.scala
- Alphabetic
- By Inheritance
- DrxTry
- AnyVal
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def &(next: => drx.Try[A]): drx.Try[A]
- def +(other: String): String
- def ->[B](y: B): (DrxTry[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (DrxTry[A]) => DrxTry[A]): DrxTry[A]
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (DrxTry[A]) => Boolean)(f: (DrxTry[A]) => DrxTry[A]): DrxTry[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def elementOf(xs: Set[DrxTry[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (DrxTry[A]) => Boolean, msg: => Any): DrxTry[A]
- def ensuring(cond: (DrxTry[A]) => Boolean): DrxTry[A]
- def ensuring(cond: Boolean, msg: => Any): DrxTry[A]
- def ensuring(cond: Boolean): DrxTry[A]
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def getOrElseWithWarning(default: => A, warning: => String): A
return use an alternate default value with a custom warning
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneIf(f: (DrxTry[A]) => Boolean): Option[DrxTry[A]]
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def optionIf(f: (DrxTry[A]) => Boolean): Option[DrxTry[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (DrxTry[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (DrxTry[A]) => Unit): DrxTry[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (DrxTry[A]) => Boolean): Option[DrxTry[A]]
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val t: drx.Try[A]
- val thisAny: DrxTry[A]
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: DrxTry[A]): Bound[DrxTry[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toString(): String
- Definition Classes
- Any
- def |(default: => A): A
- def |!(default: => A): A
return use an alternate default value but print a warning
- def ||(alternate: => drx.Try[A]): drx.Try[A]
Deprecated Value Members
- def ?>(f: (DrxTry[A]) => Boolean): Option[DrxTry[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (DrxTry[A]) => B): B
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toDrxAny[DrxTry[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (DrxTry[A], B)
- Implicit
- This member is added by an implicit conversion from DrxTry[A] toArrowAssoc[DrxTry[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.