Packages

final class Miles extends AnyVal with ImperialLength

Length in miles.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Miles
  2. ImperialLength
  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 Miles(milesNum: Double)

Value Members

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

    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
    MilesLength
  4. def +(operand: Length): Miles

    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
    MilesLength
  5. def -(operand: Length): Miles

    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
    MilesLength
  6. def /(operand: Double): Miles

    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
    MilesLength
  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
    Miles → 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
    ImperialLengthLength
    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
    ImperialLengthLength
    Annotations
    @inline()
  21. 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()
  22. 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
    ImperialLengthLength
    Annotations
    @inline()
  23. 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
    MilesLength
    Annotations
    @inline()
  24. 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()
  25. def max(operand: Length): Miles

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

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

    Definition Classes
    MilesLength
  26. 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()
  27. def metresNum: Double

    The scalar Double value of this length expressed in metres.

    The scalar Double value of this length expressed in metres.

    Definition Classes
    MilesLength
  28. 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()
  29. val milesNum: Double

    The scalar Double value of this length expressed in miles.

    The scalar Double value of this length expressed in miles.

    Definition Classes
    MilesLength
  30. def neg: Boolean
  31. def pos: Boolean
  32. def toString(): String
    Definition Classes
    Any
  33. def typeStr: String
  34. def unary_-: Miles

    Negates this length.

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

    Definition Classes
    MilesLength
  35. 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()
  36. 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
    MilesLength
    Annotations
    @inline()

Inherited from ImperialLength

Inherited from Length

Inherited from Ordered[Length]

Inherited from Comparable[Length]

Inherited from AnyVal

Inherited from Any

Ungrouped