KMetres

final
class KMetres(val kMetresNum: Double) extends AnyVal with MetricLength

Length in kilometres.

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): KMetres
Definition Classes
override
def +(operand: Length): KMetres
Definition Classes
override
def -(operand: Length): KMetres
Definition Classes
override
def /(operand: Double): KMetres
Definition Classes
override
def compare(that: Length): Int
Definition Classes
Ordered
@inline
override
def gMetresNum: Double
Definition Classes
@inline
override
def mMetresNum: Double
Definition Classes
override
def max(operand: Length): KMetres

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

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

Definition Classes
@inline
override
def metresNum: Double
Definition Classes
override
def toString: String
Definition Classes
Any
override
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
final

The value of this length expressed as KMetres.

The value of this length expressed as KMetres.

Inherited from
Length
@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 mMilesNum: Double
Definition Classes
Inherited from
MetricLength
@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
override
def milesNum: Double
Definition Classes
Inherited from
MetricLength
@inline
final

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 kMetresNum: Double