Kilometer

org.abh80.nf.core.metrics.DistanceUnit.Kilometer
See theKilometer companion object
case class Kilometer(value: Double) extends DistanceUnit

Represents distance in kilometers

Value parameters

value

the distance value in kilometers

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait DistanceUnit
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def fromMeter(meters: Double): Kilometer

Attributes

Definition Classes
override def symbol: String

Attributes

Definition Classes
override def toMeter: Double

Attributes

Definition Classes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
DistanceUnit -> Any
Inherited from:
DistanceUnit