squants.space.LengthConversions

LengthNumeric

implicit object LengthNumeric extends AbstractQuantityNumeric[Length]

Source
Length.scala
Linear Supertypes
AbstractQuantityNumeric[Length], Numeric[Length], Ordering[Length], PartialOrdering[Length], Equiv[Length], Serializable, Serializable, Comparator[Length], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LengthNumeric
  2. AbstractQuantityNumeric
  3. Numeric
  4. Ordering
  5. PartialOrdering
  6. Equiv
  7. Serializable
  8. Serializable
  9. Comparator
  10. AnyRef
  11. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. class Ops extends AnyRef

    Definition Classes
    Numeric → Ordering

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def abs(x: Length): Length

    Definition Classes
    Numeric
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compare(x: Length, y: Length): Int

    Definition Classes
    AbstractQuantityNumeric → Ordering → Comparator
  10. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  12. def equiv(x: Length, y: Length): Boolean

    Definition Classes
    Ordering → PartialOrdering → Equiv
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def fromInt(x: Int): Length

    Definition Classes
    AbstractQuantityNumeric → Numeric
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def gt(x: Length, y: Length): Boolean

    Definition Classes
    Ordering → PartialOrdering
  17. def gteq(x: Length, y: Length): Boolean

    Definition Classes
    Ordering → PartialOrdering
  18. def hashCode(): Int

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

    Definition Classes
    Any
  20. def lt(x: Length, y: Length): Boolean

    Definition Classes
    Ordering → PartialOrdering
  21. def lteq(x: Length, y: Length): Boolean

    Definition Classes
    Ordering → PartialOrdering
  22. def max(x: Length, y: Length): Length

    Definition Classes
    Ordering
  23. def min(x: Length, y: Length): Length

    Definition Classes
    Ordering
  24. def minus(x: Length, y: Length): Length

    Definition Classes
    AbstractQuantityNumeric → Numeric
  25. implicit def mkNumericOps(lhs: Length): Ops

    Definition Classes
    Numeric
  26. implicit def mkOrderingOps(lhs: Length): LengthNumeric.Ops

    Definition Classes
    Ordering
  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. def negate(x: Length): Length

    Definition Classes
    AbstractQuantityNumeric → Numeric
  29. final def notify(): Unit

    Definition Classes
    AnyRef
  30. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  31. def on[U](f: (U) ⇒ Length): Ordering[U]

    Definition Classes
    Ordering
  32. def one: Length

    Definition Classes
    Numeric
  33. def plus(x: Length, y: Length): Length

    Definition Classes
    AbstractQuantityNumeric → Numeric
  34. def reverse: Ordering[Length]

    Definition Classes
    Ordering → PartialOrdering
  35. def reversed(): Comparator[Length]

    Definition Classes
    Comparator
  36. def signum(x: Length): Int

    Definition Classes
    Numeric
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def thenComparing[U <: Comparable[_ >: U]](arg0: Function[_ >: Length, _ <: U]): Comparator[Length]

    Definition Classes
    Comparator
  39. def thenComparing[U](arg0: Function[_ >: Length, _ <: U], arg1: Comparator[_ >: U]): Comparator[Length]

    Definition Classes
    Comparator
  40. def thenComparing(arg0: Comparator[_ >: Length]): Comparator[Length]

    Definition Classes
    Comparator
  41. def thenComparingDouble(arg0: ToDoubleFunction[_ >: Length]): Comparator[Length]

    Definition Classes
    Comparator
  42. def thenComparingInt(arg0: ToIntFunction[_ >: Length]): Comparator[Length]

    Definition Classes
    Comparator
  43. def thenComparingLong(arg0: ToLongFunction[_ >: Length]): Comparator[Length]

    Definition Classes
    Comparator
  44. def times(x: Length, y: Length): Length

    times is not a supported Numeric operation for Quantities.

    times is not a supported Numeric operation for Quantities. It is not possible to multiply a dimensional quantity by a like quantity and get another like quantity. Applying this class in a way that uses this method will result in an UnsupportedOperationException being thrown.

    x

    Quantity[A]

    y

    Quantity[A]

    returns
    Definition Classes
    AbstractQuantityNumeric → Numeric
    Exceptions thrown
    scala.UnsupportedOperationException

    for most types

  45. def toDouble(x: Length): Double

    Definition Classes
    AbstractQuantityNumeric → Numeric
  46. def toFloat(x: Length): Float

    Definition Classes
    AbstractQuantityNumeric → Numeric
  47. def toInt(x: Length): Int

    Definition Classes
    AbstractQuantityNumeric → Numeric
  48. def toLong(x: Length): Long

    Definition Classes
    AbstractQuantityNumeric → Numeric
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def tryCompare(x: Length, y: Length): Some[Int]

    Definition Classes
    Ordering → PartialOrdering
  51. val unit: UnitOfMeasure[Length] with PrimaryUnit

    Definition Classes
    AbstractQuantityNumeric
  52. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def zero: Length

    Definition Classes
    Numeric

Inherited from Numeric[Length]

Inherited from Ordering[Length]

Inherited from PartialOrdering[Length]

Inherited from Equiv[Length]

Inherited from Serializable

Inherited from Serializable

Inherited from Comparator[Length]

Inherited from AnyRef

Inherited from Any

Ungrouped