Scala Standard Library 2.12.18 - scala.math.Integral (original) (raw)

trait Integral[T] extends Numeric[T]

Ordering

  1. Alphabetic
  2. By Inheritance

Inherited

  1. Integral
  2. Numeric
  3. Ordering
  4. PartialOrdering
  5. Equiv
  6. Serializable
  7. Serializable
  8. Comparator
  9. AnyRef
  10. Any

Implicitly

  1. by any2stringadd

  2. by StringFormat

  3. by Ensuring

  4. by ArrowAssoc

  5. Hide All

  6. Show All

Abstract Value Members

  1. abstract def compare(x: T, y: T): Int
  2. abstract def fromInt(x: Int): T
  3. abstract def minus(x: T, y: T): T
  4. abstract def negate(x: T): T
  5. abstract def plus(x: T, y: T): T
  6. abstract def quot(x: T, y: T): T
  7. abstract def rem(x: T, y: T): T
  8. abstract def times(x: T, y: T): T
  9. abstract def toDouble(x: T): Double
  10. abstract def toFloat(x: T): Float
  11. abstract def toInt(x: T): Int
  12. abstract def toLong(x: T): Long

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
  2. final def ##(): Int
  3. def +(other: String): String
  4. def ->[B](y: B): (Integral[T], B)
  5. final def ==(arg0: Any): Boolean
  6. def abs(x: T): T
  7. final def asInstanceOf[T0]: T0
  8. def clone(): AnyRef
  9. def ensuring(cond: (Integral[T]) ⇒ Boolean, msg: ⇒ Any): Integral[T]
  10. def ensuring(cond: (Integral[T]) ⇒ Boolean): Integral[T]
  11. def ensuring(cond: Boolean, msg: ⇒ Any): Integral[T]
  12. def ensuring(cond: Boolean): Integral[T]
  13. final def eq(arg0: AnyRef): Boolean
  14. def equals(arg0: Any): Boolean
  15. def equiv(x: T, y: T): Boolean
  16. def finalize(): Unit
  17. final def getClass(): Class[_]
  18. def gt(x: T, y: T): Boolean
  19. def gteq(x: T, y: T): Boolean
  20. def hashCode(): Int
  21. final def isInstanceOf[T0]: Boolean
  22. def lt(x: T, y: T): Boolean
  23. def lteq(x: T, y: T): Boolean
  24. def max(x: T, y: T): T
  25. def min(x: T, y: T): T
  26. implicit def mkNumericOps(lhs: T): IntegralOps
  27. implicit def mkOrderingOps(lhs: T): Integral.Ops
  28. final def ne(arg0: AnyRef): Boolean
  29. final def notify(): Unit
  30. final def notifyAll(): Unit
  31. def on[U](f: (U) ⇒ T): Ordering[U]
  32. def one: T
  33. def reverse: Ordering[T]
  34. def reversed(): Comparator[T]
  35. def signum(x: T): Int
  36. final def synchronized[T0](arg0: ⇒ T0): T0
  37. def thenComparing[U <: Comparable[_ >: U]](arg0: java.util.function.Function[_ >: T, _ <: U]): Comparator[T]
  38. def thenComparing[U](arg0: java.util.function.Function[_ >: T, _ <: U], arg1: Comparator[_ >: U]): Comparator[T]
  39. def thenComparing(arg0: Comparator[_ >: T]): Comparator[T]
  40. def thenComparingDouble(arg0: ToDoubleFunction[_ >: T]): Comparator[T]
  41. def thenComparingInt(arg0: ToIntFunction[_ >: T]): Comparator[T]
  42. def thenComparingLong(arg0: ToLongFunction[_ >: T]): Comparator[T]
  43. def toString(): String
  44. def tryCompare(x: T, y: T): Some[Int]
  45. final def wait(): Unit
  46. final def wait(arg0: Long, arg1: Int): Unit
  47. final def wait(arg0: Long): Unit
  48. def zero: T
  49. def →[B](y: B): (Integral[T], B)

Ungrouped