object MathUtils

Helper functions for arithmetic operations with overflow.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MathUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addExact(a: Long, b: Long, context: SQLQueryContext): Long
  5. def addExact(a: Long, b: Long): Long
  6. def addExact(a: Int, b: Int, context: SQLQueryContext): Int
  7. def addExact(a: Int, b: Int): Int
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def floorDiv(a: Long, b: Long): Long
  14. def floorDiv(a: Int, b: Int): Int
  15. def floorMod(a: Long, b: Long): Long
  16. def floorMod(a: Int, b: Int): Int
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def multiplyExact(a: Long, b: Long, context: SQLQueryContext): Long
  21. def multiplyExact(a: Long, b: Long): Long
  22. def multiplyExact(a: Int, b: Int, context: SQLQueryContext): Int
  23. def multiplyExact(a: Int, b: Int): Int
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def negateExact(a: Long): Long
  26. def negateExact(a: Int): Int
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. def subtractExact(a: Long, b: Long, context: SQLQueryContext): Long
  30. def subtractExact(a: Long, b: Long): Long
  31. def subtractExact(a: Int, b: Int, context: SQLQueryContext): Int
  32. def subtractExact(a: Int, b: Int): Int
  33. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  34. def toIntExact(a: Long): Int
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  39. def withOverflow[A](f: ⇒ A, hint: String = "", context: SQLQueryContext = null): A
  40. def withOverflowCode(evalCode: String, context: String): String

Inherited from AnyRef

Inherited from Any

Ungrouped