Packages

final case class Mass(kg: Double) extends AnyVal with BaseValue[Mass] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Mass
  2. Serializable
  3. Product
  4. Equals
  5. BaseValue
  6. Ordered
  7. Comparable
  8. AnyVal
  9. Any
Implicitly
  1. by orderingToOrdered
  2. by richDrxAny
  3. by DrxBoundOps
  4. by any2stringadd
  5. by StringFormat
  6. by Ensuring
  7. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Mass(kg: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(scale: Long)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  4. def *(scale: Int)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  5. def *(scale: Double)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  6. def +(that: BaseValue[Mass])(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  7. def +-(eps: BaseValue[Mass])(implicit b: Boundable[Mass]): Bound[Mass]
    Definition Classes
    BaseValue
  8. def -(that: BaseValue[Mass])(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  9. def ->[B](y: B): (Mass, B)
    Implicit
    This member is added by an implicit conversion from Mass toArrowAssoc[Mass] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  10. def /(scale: Long)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  11. def /(scale: Int)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  12. def /(scale: Double)(implicit d1: DummyImplicit): Mass
    Definition Classes
    BaseValue
  13. def /(that: BaseValue[Mass])(implicit d1: DummyImplicit): Double
    Definition Classes
    BaseValue
  14. def <(that: Mass): Boolean
    Definition Classes
    Ordered
  15. def <=(that: Mass): Boolean
    Definition Classes
    Ordered
  16. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  17. def >(that: Mass): Boolean
    Definition Classes
    Ordered
  18. def >=(that: Mass): Boolean
    Definition Classes
    Ordered
  19. def abs: Mass
    Definition Classes
    BaseValue
  20. def apply(v: Double): Mass
    Definition Classes
    MassBaseValue
  21. def applyIf(t: Boolean, f: (Mass) => Mass): Mass
    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  22. def applyIf(t: (Mass) => Boolean)(f: (Mass) => Mass): Mass

    better chaining for types

    better chaining for types

    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  23. def as(unit: String): Double
  24. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  25. def baseValue: Double
    Definition Classes
    MassBaseValue
  26. def compare(that: Mass): Int
    Definition Classes
    Mass → Ordered
  27. def compare(that: BaseValue[Mass]): Int
    Definition Classes
    BaseValue
  28. def compareTo(that: Mass): Int
    Definition Classes
    Ordered → Comparable
  29. def elementOf(xs: Set[Mass]): Boolean
    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  30. def ensuring(cond: (Mass) => Boolean, msg: => Any): Mass
    Implicit
    This member is added by an implicit conversion from Mass toEnsuring[Mass] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  31. def ensuring(cond: (Mass) => Boolean): Mass
    Implicit
    This member is added by an implicit conversion from Mass toEnsuring[Mass] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  32. def ensuring(cond: Boolean, msg: => Any): Mass
    Implicit
    This member is added by an implicit conversion from Mass toEnsuring[Mass] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  33. def ensuring(cond: Boolean): Mass
    Implicit
    This member is added by an implicit conversion from Mass toEnsuring[Mass] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  34. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Mass toStringFormat[Mass] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  35. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. val kg: Double
  38. def lerp(that: BaseValue[Mass])(ratio: Double): Mass
    Definition Classes
    BaseValue
  39. def nice: String
    Definition Classes
    MassBaseValue
  40. def noneIf(f: (Mass) => Boolean): Option[Mass]
    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  41. def optionIf(f: (Mass) => Boolean): Option[Mass]

    optionally wrap an object

    optionally wrap an object

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

    a preApply f => f(a)

    a preApply f => f(a)

    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  43. def productElementNames: Iterator[String]
    Definition Classes
    Product
  44. def sideEffect(f: (Mass) => Unit): Mass

    side effect filter

    side effect filter

    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  45. def someIf(f: (Mass) => Boolean): Option[Mass]
    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  46. val thisAny: Mass
    Implicit
    This member is added by an implicit conversion from Mass toDrxAny[Mass] performed by method richDrxAny in cc.drx.predef.Enrich.
    Definition Classes
    DrxAny
  47. def till(maxArg: Mass): Bound[Mass]

    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 Mass toBoundOps[Mass] performed by method DrxBoundOps in cc.drx.predef.Enrich.
    Definition Classes
    BoundOps
  48. def toString(): String
    Definition Classes
    Mass → Any
  49. def unary_-: Mass
    Definition Classes
    BaseValue
  50. def ~(that: Mass)(implicit b: Boundable[Mass]): Bound[Mass]
    Definition Classes
    BaseValue
  51. def ~=(that: BaseValue[Mass])(implicit eps: Eps): Boolean
    Definition Classes
    BaseValue
  52. def ~>(that: BaseValue[Mass])(implicit b: Boundable[Mass]): Bound[Mass]
    Definition Classes
    BaseValue

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Mass toany2stringadd[Mass] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: any2stringadd[Mass]).+(other)
    Definition Classes
    any2stringadd
  2. def <(that: Mass): Boolean
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).<(that)
    Definition Classes
    Ordered
  3. def <=(that: Mass): Boolean
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).<=(that)
    Definition Classes
    Ordered
  4. def >(that: Mass): Boolean
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).>(that)
    Definition Classes
    Ordered
  5. def >=(that: Mass): Boolean
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).>=(that)
    Definition Classes
    Ordered
  6. def compare(that: Mass): Int
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).compare(that)
    Definition Classes
    Ordered
  7. def compareTo(that: Mass): Int
    Implicit
    This member is added by an implicit conversion from Mass toOrdered[Mass] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (mass: Ordered[Mass]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Deprecated Value Members

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

    alias for option if

    alias for option if

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

Inherited from Product

Inherited from Equals

Inherited from BaseValue[Mass]

Inherited from Ordered[Mass]

Inherited from Comparable[Mass]

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion orderingToOrdered fromMass to Ordered[Mass]

Inherited by implicit conversion richDrxAny fromMass to DrxAny[Mass]

Inherited by implicit conversion DrxBoundOps fromMass to BoundOps[Mass]

Inherited by implicit conversion any2stringadd fromMass to any2stringadd[Mass]

Inherited by implicit conversion StringFormat fromMass to StringFormat[Mass]

Inherited by implicit conversion Ensuring fromMass to Ensuring[Mass]

Inherited by implicit conversion ArrowAssoc fromMass to ArrowAssoc[Mass]

Ungrouped