GMetres

final
class GMetres(val gMetresNum: Double) extends AnyVal with MetricLength

Length measure in GigaMetres or millions of 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): GMetres
Definition Classes
override
def +(operand: Length): GMetres
Definition Classes
override
def -(operand: Length): GMetres
Definition Classes
override
def /(operand: Double): GMetres
Definition Classes
override
def compare(that: Length): Int
Definition Classes
Ordered
@inline
override
def kMetresNum: Double
Definition Classes
@inline
override
def mMetresNum: Double
Definition Classes
override
def max(operand: Length): GMetres

Returns the max lLength of this and the operand value in GMetres.

Returns the max lLength of this and the operand value in GMetres.

Definition Classes
@inline
override
def metresNum: Double
Definition Classes
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 gMetresNum: Double