Packages

trait Scale[A, B] extends ScaleOneWay[A, B]

The most common Scale is invertible (a two way function)

Source
scale.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Scale
  2. ScaleOneWay
  3. AnyRef
  4. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def apply(a: A): B
    Definition Classes
    ScaleOneWay
  2. abstract def contains(a: A): Boolean

    true if the argument can be applied to a domain

    true if the argument can be applied to a domain

    Definition Classes
    ScaleOneWay
  3. abstract def inv(b: B): A

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def %(a: A): B

    alias for apply which is a kind of evaluator

    alias for apply which is a kind of evaluator

    Definition Classes
    ScaleOneWay
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toany2stringadd[Scale[A, B]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Scale[A, B], B)
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toArrowAssoc[Scale[A, B]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def applyIf(t: Boolean, f: (Scale[A, B]) => Scale[A, B]): Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  8. def applyIf(t: (Scale[A, B]) => Boolean)(f: (Scale[A, B]) => Scale[A, B]): Scale[A, B]

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def elementOf(xs: Set[Scale[A, B]]): Boolean
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  12. def ensuring(cond: (Scale[A, B]) => Boolean, msg: => Any): Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toEnsuring[Scale[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (Scale[A, B]) => Boolean): Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toEnsuring[Scale[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean, msg: => Any): Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toEnsuring[Scale[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean): Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toEnsuring[Scale[A, B]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toStringFormat[Scale[A, B]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. def get(a: A): Option[B]

    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
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def invOption(b: B): Option[A]

    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

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def noneIf(f: (Scale[A, B]) => Boolean): Option[Scale[A, B]]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def optionIf(f: (Scale[A, B]) => Boolean): Option[Scale[A, B]]

    optionally wrap an object

    optionally wrap an object

    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  30. def preApply[B](f: (Scale[A, B]) => B): B

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  31. def sideEffect(f: (Scale[A, B]) => Unit): Scale[A, B]

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  32. def someIf(f: (Scale[A, B]) => Boolean): Option[Scale[A, B]]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. val thisAny: Scale[A, B]
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[A, B]] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  35. def till(maxArg: Scale[A, B]): Bound[Scale[A, B]]

    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 Scale[A, B] toBoundOps[Scale[A, B]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[Scale[A, B]] is in scope.
    Definition Classes
    BoundOps
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. def ?>(f: (Scale[A, B]) => Boolean): Option[Scale[A, B]]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[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

  2. def |>[B](f: (Scale[A, B]) => B): B
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toDrxAny[Scale[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)

  3. def [B](y: B): (Scale[A, B], B)
    Implicit
    This member is added by an implicit conversion from Scale[A, B] toArrowAssoc[Scale[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.

Inherited from ScaleOneWay[A, B]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromScale[A, B] to DrxAny[Scale[A, B]]

Inherited by implicit conversion DrxBoundOps fromScale[A, B] to BoundOps[Scale[A, B]]

Inherited by implicit conversion any2stringadd fromScale[A, B] to any2stringadd[Scale[A, B]]

Inherited by implicit conversion StringFormat fromScale[A, B] to StringFormat[Scale[A, B]]

Inherited by implicit conversion Ensuring fromScale[A, B] to Ensuring[Scale[A, B]]

Inherited by implicit conversion ArrowAssoc fromScale[A, B] to ArrowAssoc[Scale[A, B]]

Ungrouped