final class DrxOption[A] extends AnyVal
- Source
- wrapper.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DrxOption
- AnyVal
- Any
Implicitly
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (DrxOption[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (DrxOption[A]) => DrxOption[A]): DrxOption[A]
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (DrxOption[A]) => Boolean)(f: (DrxOption[A]) => DrxOption[A]): DrxOption[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[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[DrxOption[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (DrxOption[A]) => Boolean, msg: => Any): DrxOption[A]
- def ensuring(cond: (DrxOption[A]) => Boolean): DrxOption[A]
- def ensuring(cond: Boolean, msg: => Any): DrxOption[A]
- def ensuring(cond: Boolean): DrxOption[A]
- def formatted(fmtstr: String): String
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def noneIf(f: (DrxOption[A]) => Boolean): Option[DrxOption[A]]
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val opt: Option[A]
- def optionIf(f: (DrxOption[A]) => Boolean): Option[DrxOption[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (DrxOption[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def require(errMsg: => Any): A
- def sideEffect(f: (DrxOption[A]) => Unit): DrxOption[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (DrxOption[A]) => Boolean): Option[DrxOption[A]]
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- val thisAny: DrxOption[A]
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: DrxOption[A]): Bound[DrxOption[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 ||(alternate: => Option[A]): Option[A]
Deprecated Value Members
- def ?>(f: (DrxOption[A]) => Boolean): Option[DrxOption[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[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: (DrxOption[A]) => B): B
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toDrxAny[DrxOption[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): (DrxOption[A], B)
- Implicit
- This member is added by an implicit conversion from DrxOption[A] toArrowAssoc[DrxOption[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.