Trait

squants.space

LengthUnit

Related Doc: package space

Permalink

trait LengthUnit extends UnitOfMeasure[Length] with UnitConverter

Base trait for units of squants.space.Length

Source
Length.scala
Linear Supertypes
UnitConverter, UnitOfMeasure[Length], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LengthUnit
  2. UnitConverter
  3. UnitOfMeasure
  4. Serializable
  5. Serializable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def conversionFactor: Double

    Permalink

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Defines a multiplier value relative to the Quantity's squants.PrimaryUnit

    Attributes
    protected
    Definition Classes
    UnitConverter
  2. abstract def symbol: String

    Permalink

    Symbol used when representing Quantities in this UnitOfMeasure

    Symbol used when representing Quantities in this UnitOfMeasure

    Definition Classes
    UnitOfMeasure

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](n: A)(implicit num: Numeric[A]): Length

    Permalink

    Factory method for creating instances of a Quantity in this UnitOfMeasure

    Factory method for creating instances of a Quantity in this UnitOfMeasure

    n

    N - the Quantity's value in terms of this UnitOfMeasure

    Definition Classes
    LengthUnitUnitOfMeasure
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def convertFrom[N](n: N)(implicit num: Numeric[N]): Double

    Permalink

    Applies the converterFrom method to a value

    Applies the converterFrom method to a value

    N

    Type

    n

    N value in terms of this Unit

    num

    Numeric[N]

    Definition Classes
    UnitOfMeasure
  8. final def convertTo[N](n: N)(implicit num: Numeric[N]): Double

    Permalink

    Applies the converterTo method to a value

    Applies the converterTo method to a value

    N

    Type

    n

    N value in terms of teh ValueUnit

    num

    Numeric[N]

    Definition Classes
    UnitOfMeasure
  9. def converterFrom: (Double) ⇒ Double

    Permalink

    Implements the converterFrom method as a simple product of the value and the multiplier

    Implements the converterFrom method as a simple product of the value and the multiplier

    Attributes
    protected
    Definition Classes
    UnitConverter
  10. def converterTo: (Double) ⇒ Double

    Permalink

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Implements the converterTo method as a simple quotient of the value and the multiplier

    Attributes
    protected
    Definition Classes
    UnitConverter
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def unapply(q: Length): Some[Double]

    Permalink

    Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

    Extractor method for getting the Numeric value of a Quantity in this UnitOfMeasure

    q

    A - The Quantity being matched

    Definition Classes
    UnitOfMeasure
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from UnitConverter

Inherited from UnitOfMeasure[Length]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped