final class DrxAny[A] extends AnyVal
- Source
- wrapper.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DrxAny
- AnyVal
- Any
Implicitly
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new DrxAny(thisAny: A)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def +(other: String): String
- def ->[B](y: B): (DrxAny[A], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def applyIf(t: Boolean, f: (A) => A): A
- def applyIf(t: (A) => Boolean)(f: (A) => A): A
better chaining for types
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def elementOf(xs: Set[A]): Boolean
- def ensuring(cond: (DrxAny[A]) => Boolean, msg: => Any): DrxAny[A]
- def ensuring(cond: (DrxAny[A]) => Boolean): DrxAny[A]
- def ensuring(cond: Boolean, msg: => Any): DrxAny[A]
- def ensuring(cond: Boolean): DrxAny[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: (A) => Boolean): Option[A]
- def optionIf(f: (A) => Boolean): Option[A]
optionally wrap an object
- def preApply[B](f: (A) => B): B
a preApply f => f(a)
- def sideEffect(f: (A) => Unit): A
side effect filter
- def someIf(f: (A) => Boolean): Option[A]
- val thisAny: A
- def till(maxArg: DrxAny[A]): Bound[DrxAny[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- def toString(): String
- Definition Classes
- Any
Deprecated Value Members
- def ?>(f: (A) => Boolean): Option[A]
alias for option if
alias for option if
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (A) => B): B
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (DrxAny[A], B)
- Implicit
- This member is added by an implicit conversion from DrxAny[A] toArrowAssoc[DrxAny[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.