class ScaleTuple2[Ad, Ar, Bd, Br] extends Scale[(Ad, Bd), (Ar, Br)]
- Source
- scale.scala
- Alphabetic
- By Inheritance
- ScaleTuple2
- Scale
- ScaleOneWay
- AnyRef
- 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
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def %(a: (Ad, Bd)): (Ar, Br)
alias for apply which is a kind of evaluator
alias for apply which is a kind of evaluator
- Definition Classes
- ScaleOneWay
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toany2stringadd[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ScaleTuple2[Ad, Ar, Bd, Br], B)
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toArrowAssoc[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(a: Ad, b: Bd): (Ar, Br)
- def apply(pair: (Ad, Bd)): (Ar, Br)
- Definition Classes
- ScaleTuple2 → ScaleOneWay
- def applyIf(t: Boolean, f: (ScaleTuple2[Ad, Ar, Bd, Br]) => ScaleTuple2[Ad, Ar, Bd, Br]): ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean)(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => ScaleTuple2[Ad, Ar, Bd, Br]): ScaleTuple2[Ad, Ar, Bd, Br]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def contains(a: Ad, b: Bd): Boolean
- def contains(pair: (Ad, Bd)): Boolean
true if the argument can be applied to a domain
true if the argument can be applied to a domain
- Definition Classes
- ScaleTuple2 → ScaleOneWay
- def elementOf(xs: Set[ScaleTuple2[Ad, Ar, Bd, Br]]): Boolean
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean, msg: => Any): ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toEnsuring[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean): ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toEnsuring[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toEnsuring[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toEnsuring[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toStringFormat[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- def get(a: Ad, b: Bd): Option[(Ar, Br)]
- def get(a: (Ad, Bd)): Option[(Ar, Br)]
first check if the argument can be applied to a domain then apply the scale
first check if the argument can be applied to a domain then apply the scale
- Definition Classes
- ScaleOneWay
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def inv(rv: (Ar, Br)): (Ad, Bd)
- Definition Classes
- ScaleTuple2 → Scale
- def invOption(b: (Ar, Br)): Option[(Ad, Bd)]
invOption uses inv with exception handling (divide by zero is ugly).
invOption uses inv with exception handling (divide by zero is ugly). This method can be overridden for specific case speedup
- Definition Classes
- Scale
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean): Option[ScaleTuple2[Ad, Ar, Bd, Br]]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean): Option[ScaleTuple2[Ad, Ar, Bd, Br]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def preApply[B](f: (ScaleTuple2[Ad, Ar, Bd, Br]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def sideEffect(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => Unit): ScaleTuple2[Ad, Ar, Bd, Br]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def someIf(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean): Option[ScaleTuple2[Ad, Ar, Bd, Br]]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: ScaleTuple2[Ad, Ar, Bd, Br]
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: ScaleTuple2[Ad, Ar, Bd, Br]): Bound[ScaleTuple2[Ad, Ar, Bd, Br]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toBoundOps[ScaleTuple2[Ad, Ar, Bd, Br]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[ScaleTuple2[Ad, Ar, Bd, Br]] is in scope.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- ScaleTuple2 → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def ?>(f: (ScaleTuple2[Ad, Ar, Bd, Br]) => Boolean): Option[ScaleTuple2[Ad, Ar, Bd, Br]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] 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: (ScaleTuple2[Ad, Ar, Bd, Br]) => B): B
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toDrxAny[ScaleTuple2[Ad, Ar, Bd, Br]] 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): (ScaleTuple2[Ad, Ar, Bd, Br], B)
- Implicit
- This member is added by an implicit conversion from ScaleTuple2[Ad, Ar, Bd, Br] toArrowAssoc[ScaleTuple2[Ad, Ar, Bd, Br]] 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.