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