Yards

final class Yards(val yardsNum: Double) extends AnyVal with ImperialLength

Length in yards.

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

Value members

Concrete methods

override def *(operand: Double): Length

Multiplies this Yards by the operand scalar Double. Returns the value in Yards.

Multiplies this Yards by the operand scalar Double. Returns the value in Yards.

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

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

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

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

Subtracts the operand length from this Yards. Returns the value in Yards.

Subtracts the operand length from this Yards. Returns the value in Yards.

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

Divides this Yrads by the operand scalar Double. Returns the value in Yards.

Divides this Yrads by the operand scalar Double. Returns the value in Yards.

Definition Classes
override def compare(that: Length): Int
Definition Classes
Ordered
@inline
override def mMilesNum: Double
Definition Classes
override def max(operand: Length): Yards

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

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

Definition Classes
@inline
override 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
@inline
override def milesNum: Double
Definition Classes
override def unary_-: Yards

Negates this Yards. Returns the value in Yards.

Negates this Yards. Returns the value in Yards.

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
override def gMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@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
override def kMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@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 mMetresNum: Double
Definition Classes
Inherited from
ImperialLength
@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
final def yards: Yards

The value of this length expressed as Miles.

The value of this length expressed as Miles.

Inherited from
Length

Concrete fields

override val yardsNum: Double