Packages

final case class NonNegativeNumeric[T] extends RefinedNumeric[T] with Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NonNegativeNumeric
  2. Serializable
  3. Product
  4. Equals
  5. RefinedNumeric
  6. Ordered
  7. Comparable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def *(other: NonNegativeNumeric[T]): NonNegativeNumeric[T]
  4. def +(other: NonNegativeNumeric[T]): NonNegativeNumeric[T]
  5. def /(other: NonNegativeNumeric[T])(implicit fractional: Fractional[T]): NonNegativeNumeric[T]
  6. def <(that: RefinedNumeric[T]): Boolean
    Definition Classes
    Ordered
  7. def <=(that: RefinedNumeric[T]): Boolean
    Definition Classes
    Ordered
  8. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def >(that: RefinedNumeric[T]): Boolean
    Definition Classes
    Ordered
  10. def >=(that: RefinedNumeric[T]): Boolean
    Definition Classes
    Ordered
  11. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  13. def compare(that: RefinedNumeric[T]): Int
    Definition Classes
    RefinedNumeric → Ordered
  14. def compareTo(that: RefinedNumeric[T]): Int
    Definition Classes
    Ordered → Comparable
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def increment: PositiveNumeric[T]
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def map[U](f: (T) => U)(implicit num: Numeric[U]): NonNegativeNumeric[U]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. implicit val num: Numeric[T]
    Definition Classes
    NonNegativeNumericRefinedNumeric
  24. def productElementNames: Iterator[String]
    Definition Classes
    Product
  25. def subtract(other: NonNegativeNumeric[T]): SubtractionResult[T]

    Subtract other from this.

    Subtract other from this. Subtracts as much as possible of "other" from "this" such that "this" stays >= 0. Any remaining amount will be the remainder. e.g:

    NonNegativeNumeric(5).subtract(NonNegativeNumeric(3)) == SubtractionResult(NonNegativeNumeric(2), NonNegativeNumeric(0))
    NonNegativeNumeric(2).subtract(NonNegativeNumeric(3)) == SubtractionResult(NonNegativeNumeric(0), NonNegativeNumeric(1))
    other

    value to subtract to this

  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    RefinedNumeric → AnyRef → Any
  28. def tryAdd(other: T): NonNegativeNumeric[T]
  29. def unwrap: T
    Definition Classes
    RefinedNumeric
  30. val value: T
    Definition Classes
    NonNegativeNumericRefinedNumeric
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RefinedNumeric[T]

Inherited from Ordered[RefinedNumeric[T]]

Inherited from Comparable[RefinedNumeric[T]]

Inherited from AnyRef

Inherited from Any

Ungrouped