Packages

c

cc.drx.Format

Numeric

class Numeric extends Format[Double]

Source
format.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Numeric
  2. Format
  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

Instance Constructors

  1. new Numeric(formatter: (Double) => String, gain: Double = 1.0)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def %(x: Double): String
    Definition Classes
    Format
  4. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Numeric toany2stringadd[Numeric] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Numeric, B)
    Implicit
    This member is added by an implicit conversion from Numeric toArrowAssoc[Numeric] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. def apply(x: Double): String
    Definition Classes
    NumericFormat
  8. def applyIf(t: Boolean, f: (Numeric) => Numeric): Numeric
    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  9. def applyIf(t: (Numeric) => Boolean)(f: (Numeric) => Numeric): Numeric

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. def elementOf(xs: Set[Numeric]): Boolean
    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  13. def ensuring(cond: (Numeric) => Boolean, msg: => Any): Numeric
    Implicit
    This member is added by an implicit conversion from Numeric toEnsuring[Numeric] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (Numeric) => Boolean): Numeric
    Implicit
    This member is added by an implicit conversion from Numeric toEnsuring[Numeric] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: => Any): Numeric
    Implicit
    This member is added by an implicit conversion from Numeric toEnsuring[Numeric] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): Numeric
    Implicit
    This member is added by an implicit conversion from Numeric toEnsuring[Numeric] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Numeric toStringFormat[Numeric] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  21. val formatter: (Double) => String
  22. val gain: Double
    Definition Classes
    NumericFormat
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def noneIf(f: (Numeric) => Boolean): Option[Numeric]
    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. def optionIf(f: (Numeric) => Boolean): Option[Numeric]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

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

    side effect filter

    side effect filter

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

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

Deprecated Value Members

  1. def ?>(f: (Numeric) => Boolean): Option[Numeric]

    alias for option if

    alias for option if

    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] 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: (Numeric) => B): B
    Implicit
    This member is added by an implicit conversion from Numeric toDrxAny[Numeric] 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): (Numeric, B)
    Implicit
    This member is added by an implicit conversion from Numeric toArrowAssoc[Numeric] 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 Format[Double]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromNumeric to DrxAny[Numeric]

Inherited by implicit conversion DrxBoundOps fromNumeric to BoundOps[Numeric]

Inherited by implicit conversion any2stringadd fromNumeric to any2stringadd[Numeric]

Inherited by implicit conversion StringFormat fromNumeric to StringFormat[Numeric]

Inherited by implicit conversion Ensuring fromNumeric to Ensuring[Numeric]

Inherited by implicit conversion ArrowAssoc fromNumeric to ArrowAssoc[Numeric]

Ungrouped