Packages

t

ostrat

ImperialLength

trait ImperialLength extends Length

Common trait for metric units of length.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ImperialLength
  2. Length
  3. Ordered
  4. Comparable
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def *(operand: Double): Length

    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
    Length
  2. abstract def +(operand: Length): Length

    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
    Length
  3. abstract def -(operand: Length): Length

    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
    Length
  4. abstract def /(operand: Double): Length

    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
    Length
  5. abstract def compare(that: Length): Int
    Definition Classes
    Ordered
  6. abstract def getClass(): Class[_ <: AnyRef]
    Definition Classes
    Any
  7. abstract 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
    Length
  8. abstract def max(operand: Length): Length

    Returns the max Length of this and the operand value.

    Returns the max Length of this and the operand value. The return type will be narrowed to the final class's class in the implementing class.

    Definition Classes
    Length
  9. abstract 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
    Length
  10. abstract 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
    Length
  11. abstract def unary_-: Length

    Negates this length.

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

    Definition Classes
    Length
  12. abstract 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
    Length

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def <(that: Length): Boolean
    Definition Classes
    Ordered
  4. def <=(that: Length): Boolean
    Definition Classes
    Ordered
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. def >(that: Length): Boolean
    Definition Classes
    Ordered
  7. def >=(that: Length): Boolean
    Definition Classes
    Ordered
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def compareTo(that: Length): Int
    Definition Classes
    Ordered → Comparable
  10. def equals(arg0: Any): Boolean
    Definition Classes
    Any
  11. 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()
  12. 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()
  13. def hashCode(): Int
    Definition Classes
    Any
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. 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()
  16. 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()
  17. 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()
  18. 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()
  19. 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()
  20. 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()
  21. 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()
  22. def toString(): String
    Definition Classes
    Any
  23. 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()

Inherited from Length

Inherited from Ordered[Length]

Inherited from Comparable[Length]

Inherited from Any

Ungrouped