MMetres

final class MMetres(val mMetresNum: Double) extends AnyVal with MetricLength

Length in megametres or thousands of kilometres.

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

Value members

Concrete methods

override def *(operand: Double): MMetres

Multiplies this MMetres by the operand scalar Double. Returns the value in MMetres class.

Multiplies this MMetres by the operand scalar Double. Returns the value in MMetres class.

Definition Classes
override def +(operand: Length): MMetres

Adds the operand length to this MMetres. Returns the value in MMetres.

Adds the operand length to this MMetres. Returns the value in MMetres.

Definition Classes
override def -(operand: Length): MMetres

Subtracts the operand length to this MMetres. Returns the value in MMetres.

Subtracts the operand length to this MMetres. Returns the value in MMetres.

Definition Classes
override def /(operand: Double): MMetres

Divides this MMetres by the operand scalar Double. Returns the value in MMetres class.

Divides this MMetres by the operand scalar Double. Returns the value in MMetres class.

Definition Classes
override def compare(that: Length): Int
Definition Classes
Ordered
@inline
override def gMetresNum: Double
Definition Classes
@inline
override def kMetresNum: Double
Definition Classes
override def max(operand: Length): MMetres

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

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

Definition Classes
@inline
override def metresNum: Double
Definition Classes
override def unary_-: MMetres

Negates this MMetres. Returns the value in MMetres.

Negates this MMetres. Returns the value in MMetres.

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 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.

Inherited from
Length
@inline
final def kMetres: KMetres

The value of this length expressed as KMetres.

The value of this length expressed as KMetres.

Inherited from
Length
@inline
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.

Inherited from
Length
@inline
override def mMilesNum: Double
Definition Classes
Inherited from
MetricLength
@inline
final def mMmiles: MMiles

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length
@inline
final def metres: Metres

The value of this length expressed as Metres.

The value of this length expressed as Metres.

Inherited from
Length
@inline
final def miles: Miles

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length
@inline
override def milesNum: Double
Definition Classes
Inherited from
MetricLength
@inline
final def yards: Yards

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length
@inline
override def yardsNum: Double
Definition Classes
Inherited from
MetricLength

Concrete fields

override val mMetresNum: Double