com.sksamuel.scala.commons.numerals

Numeral

Related Doc: package numerals

case class Numeral(value: Long, unit: NumberUnit) extends Serializable with Ordered[Numeral] with Product

Linear Supertypes
Product, Equals, Ordered[Numeral], Comparable[Numeral], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Numeral
  2. Product
  3. Equals
  4. Ordered
  5. Comparable
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Numeral(value: Long, unit: NumberUnit)

Value Members

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

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

    Definition Classes
    AnyRef → Any
  3. def *(factor: Numeral): Numeral

  4. def *(factor: Double): Numeral

  5. def +(other: Numeral): Numeral

  6. def +(other: Double): Numeral

  7. def -(other: Numeral): Numeral

  8. def -(other: Double): Numeral

  9. def /(divisor: Numeral): Numeral

  10. def /(divisor: Double): Numeral

  11. def <(that: Numeral): Boolean

    Definition Classes
    Ordered
  12. def <=(that: Numeral): Boolean

    Definition Classes
    Ordered
  13. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def >(that: Numeral): Boolean

    Definition Classes
    Ordered
  15. def >=(that: Numeral): Boolean

    Definition Classes
    Ordered
  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. def compare(that: Numeral): Int

    Definition Classes
    Numeral → Ordered
  19. def compareTo(that: Numeral): Int

    Definition Classes
    Ordered → Comparable
  20. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. def equals(other: Any): Boolean

    Definition Classes
    Numeral → Equals → AnyRef → Any
  22. def finalize(): Unit

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

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

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

    Definition Classes
    AnyRef
  26. final def notify(): Unit

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

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

    Definition Classes
    AnyRef
  29. def toBillions: Long

  30. def toHundreds: Long

  31. def toMillions: Long

    Returns the exact number of whole millions, rounded down to zero.

  32. def toTens: Long

  33. def toThousands: Long

  34. def toUnits: Long

  35. def unary_-: Numeral

  36. val unit: NumberUnit

  37. val value: Long

  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from Ordered[Numeral]

Inherited from Comparable[Numeral]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped