Miles

final
class Miles(val milesNum: Double) extends AnyVal with ImperialLength

Length in miles.

Companion
object
trait Length
trait Ordered[Length]
trait Comparable[Length]
class Object
class AnyVal
trait Matchable
class Any

Value members

Concrete methods

override
def *(operand: Double): Miles
Definition Classes
override
def +(operand: Length): Miles
Definition Classes
override
def -(operand: Length): Miles
Definition Classes
override
def /(operand: Double): Miles
Definition Classes
override
def compare(that: Length): Int
Definition Classes
Ordered
@inline
override
def mMilesNum: Double
Definition Classes
override
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
override
def metresNum: Double
Definition Classes
def neg: Boolean
def pos: Boolean
def typeStr: String
override
Definition Classes
@inline
override
def yardsNum: Double
Definition Classes

Inherited methods

def <(that: Length): Boolean
Inherited from
Ordered
def <=(that: Length): Boolean
Inherited from
Ordered
def >(that: Length): Boolean
Inherited from
Ordered
def >=(that: Length): Boolean
Inherited from
Ordered
def compareTo(that: Length): Int
Inherited from
Ordered
@inline
final

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.

Inherited from
Length
@inline
override
def gMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@inline
final

The value of this length expressed as KMetres.

The value of this length expressed as KMetres.

Inherited from
Length
@inline
override
def kMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@inline
final

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.

Inherited from
Length
@inline
override
def mMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@inline
final

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length
@inline
final

The value of this length expressed as Metres.

The value of this length expressed as Metres.

Inherited from
Length
@inline
final

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length
@inline
final

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length

Concrete fields

override
val milesNum: Double