Packages

final class Metres extends AnyVal with MetricLength

Length in metres.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Metres
  2. MetricLength
  3. Length
  4. Ordered
  5. Comparable
  6. AnyVal
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Metres(metresNum: Double)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def *(operand: Double): Metres

    Multiplies this length by the operand scalar Double.

    Multiplies this length by the operand scalar Double. The return type will be narrowed to the final class's class in the implementing class.

    Definition Classes
    MetresLength
  4. def +(operand: Length): Metres

    Adds the operand length to this length.

    Adds the operand length to this length. The return type will be narrowed to the dispatching object's type in the final implementing class.

    Definition Classes
    MetresLength
  5. def -(operand: Length): Metres

    Subtracts the operand length from this length.

    Subtracts the operand length from this length. The return type will be narrowed to the dispatching object's type in the final implementing class.

    Definition Classes
    MetresLength
  6. def /(operand: Double): Metres

    Divides this length by the operand scalar Double.

    Divides this length by the operand scalar Double. The return type will be narrowed to the final class's class in the implementing class.

    Definition Classes
    MetresLength
  7. def <(that: Length): Boolean
    Definition Classes
    Ordered
  8. def <=(that: Length): Boolean
    Definition Classes
    Ordered
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  10. def >(that: Length): Boolean
    Definition Classes
    Ordered
  11. def >=(that: Length): Boolean
    Definition Classes
    Ordered
  12. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  13. def compare(that: Length): Int
    Definition Classes
    Metres → Ordered
  14. def compareTo(that: Length): Int
    Definition Classes
    Ordered → Comparable
  15. final def gMetres: GMetres

    The value of this length expressed as GMetres gigametres or millions of kilometres.

    The value of this length expressed as GMetres gigametres or millions of kilometres.

    Definition Classes
    Length
    Annotations
    @inline()
  16. def gMetresNum: Double

    The scalar Double value of this length expressed in gigametres or millions of kilometres.

    The scalar Double value of this length expressed in gigametres or millions of kilometres.

    Definition Classes
    MetresLength
    Annotations
    @inline()
  17. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def kMetres: KMetres

    The value of this length expressed as KMetres.

    The value of this length expressed as KMetres.

    Definition Classes
    Length
    Annotations
    @inline()
  20. def kMetresNum: Double

    The scalar Double value of this length expressed in kilometres.

    The scalar Double value of this length expressed in kilometres.

    Definition Classes
    MetresLength
    Annotations
    @inline()
  21. def kmStr2: String
  22. final def mMetres: MMetres

    The value of this length expressed as MMetres megametres or thousands of kilometres.

    The value of this length expressed as MMetres megametres or thousands of kilometres.

    Definition Classes
    Length
    Annotations
    @inline()
  23. def mMetresNum: Double

    The scalar Double value of this length expressed in megametres.

    The scalar Double value of this length expressed in megametres.

    Definition Classes
    MetresLength
    Annotations
    @inline()
  24. def mMilesNum: Double

    The scalar Double value of this length expressed in millions of miles.

    The scalar Double value of this length expressed in millions of miles.

    Definition Classes
    MetricLengthLength
    Annotations
    @inline()
  25. final def mMmiles: MMiles

    The value of this length expressed as Miles.

    The value of this length expressed as Miles.

    Definition Classes
    Length
    Annotations
    @inline()
  26. def max(operand: Length): Metres

    Returns the max length of this and the operand length in Metres.

    Returns the max length of this and the operand length in Metres.

    Definition Classes
    MetresLength
  27. final def metres: Metres

    The value of this length expressed as Metres.

    The value of this length expressed as Metres.

    Definition Classes
    Length
    Annotations
    @inline()
  28. val metresNum: Double

    The scalar Double value of this length expressed in metres.

    The scalar Double value of this length expressed in metres.

    Definition Classes
    MetresLength
  29. final def miles: Miles

    The value of this length expressed as Miles.

    The value of this length expressed as Miles.

    Definition Classes
    Length
    Annotations
    @inline()
  30. def milesNum: Double

    The scalar Double value of this length expressed in miles.

    The scalar Double value of this length expressed in miles.

    Definition Classes
    MetricLengthLength
    Annotations
    @inline()
  31. def min(operand: Metres): Metres
  32. def neg: Boolean
  33. def pos: Boolean
  34. def toString(): String
    Definition Classes
    Any
  35. def typeStr: String
  36. def unary_-: Metres

    Negates this length.

    Negates this length. The return type will be narrowed to the final class's class in the implementing class.

    Definition Classes
    MetresLength
  37. final def yards: Yards

    The value of this length expressed as Miles.

    The value of this length expressed as Miles.

    Definition Classes
    Length
    Annotations
    @inline()
  38. def yardsNum: Double

    The scalar Double value of this length expressed in miles.

    The scalar Double value of this length expressed in miles.

    Definition Classes
    MetricLengthLength
    Annotations
    @inline()

Inherited from MetricLength

Inherited from Length

Inherited from Ordered[Length]

Inherited from Comparable[Length]

Inherited from AnyVal

Inherited from Any

Ungrouped