Packages

object numeric

Module for numeric refined types.

Source
numeric.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. numeric
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type NegBigDecimal = Refined[BigDecimal, Negative]

    A BigDecimal less than 0.

  2. type NegBigInt = Refined[BigInt, Negative]

    A BigInt less than or equal to 0.

  3. type NegByte = Refined[Byte, Negative]

    A Byte in the range from Byte.MinValue to -1.

  4. type NegDouble = Refined[Double, Negative]

    A Double less than 0.

  5. type NegFloat = Refined[Float, Negative]

    A Float less than 0.

  6. type NegInt = Refined[Int, Negative]

    An Int in the range from Int.MinValue to -1.

  7. type NegLong = Refined[Long, Negative]

    A Long in the range from Long.MinValue to -1.

  8. type NegShort = Refined[Short, Negative]

    A Short in the range from Short.MinValue to -1.

  9. type NonNaNDouble = Refined[Double, NonNaN]

    A Double that is not NaN.

  10. type NonNaNFloat = Refined[Float, NonNaN]

    A Float that is not NaN.

  11. type NonNegBigDecimal = Refined[BigDecimal, NonNegative]

    A BigDecimal greater than or equal to 0.

  12. type NonNegBigInt = Refined[BigInt, NonNegative]

    A BigInt greater than or equal to 0.

  13. type NonNegByte = Refined[Byte, NonNegative]

    A Byte in the range from 0 to Byte.MaxValue.

  14. type NonNegDouble = Refined[Double, NonNegative]

    A Double greater than or equal to 0.

  15. type NonNegFloat = Refined[Float, NonNegative]

    A Float greater than or equal to 0.

  16. type NonNegInt = Refined[Int, NonNegative]

    An Int in the range from 0 to Int.MaxValue.

  17. type NonNegLong = Refined[Long, NonNegative]

    A Long in the range from 0 to Long.MaxValue.

  18. type NonNegShort = Refined[Short, NonNegative]

    A Short in the range from 0 to Short.MaxValue.

  19. type NonPosBigDecimal = Refined[BigDecimal, NonPositive]

    A BigDecimal less than or equal to 0.

  20. type NonPosBigInt = Refined[BigInt, NonPositive]

    A BigInt less than or equal to 0.

  21. type NonPosByte = Refined[Byte, NonPositive]

    A Byte in the range from Byte.MinValue to 0.

  22. type NonPosDouble = Refined[Double, NonPositive]

    A Double less than or equal to 0.

  23. type NonPosFloat = Refined[Float, NonPositive]

    A Float less than or equal to 0.

  24. type NonPosInt = Refined[Int, NonPositive]

    An Int in the range from Int.MinValue to 0.

  25. type NonPosLong = Refined[Long, NonPositive]

    A Long in the range from Long.MinValue to 0.

  26. type NonPosShort = Refined[Short, NonPositive]

    A Short in the range from Short.MinValue to 0.

  27. type PosBigDecimal = Refined[BigDecimal, Positive]

    A BigDecimal greater than 0.

  28. type PosBigInt = Refined[BigInt, Positive]

    A BigInt greater than 0.

  29. type PosByte = Refined[Byte, Positive]

    A Byte in the range from 1 to Byte.MaxValue.

  30. type PosDouble = Refined[Double, Positive]

    A Double greater than 0.

  31. type PosFloat = Refined[Float, Positive]

    A Float greater than 0.

  32. type PosInt = Refined[Int, Positive]

    An Int in the range from 1 to Int.MaxValue.

  33. type PosLong = Refined[Long, Positive]

    A Long in the range from 1 to Long.MaxValue.

  34. type PosShort = Refined[Short, Positive]

    A Short in the range from 1 to Short.MaxValue.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. object NegBigDecimal extends RefinedTypeOps[NegBigDecimal, BigDecimal]
  21. object NegBigInt extends RefinedTypeOps[NegBigInt, BigInt]
  22. object NegByte extends Numeric[NegByte, Byte]
  23. object NegDouble extends Numeric[NegDouble, Double]
  24. object NegFloat extends Numeric[NegFloat, Float]
  25. object NegInt extends Numeric[NegInt, Int]
  26. object NegLong extends Numeric[NegLong, Long]
  27. object NegShort extends Numeric[NegShort, Short]
  28. object NonNaNDouble extends RefinedTypeOps[NonNaNDouble, Double]
  29. object NonNaNFloat extends RefinedTypeOps[NonNaNFloat, Float]
  30. object NonNegBigDecimal extends RefinedTypeOps[NonNegBigDecimal, BigDecimal]
  31. object NonNegBigInt extends RefinedTypeOps[NonNegBigInt, BigInt]
  32. object NonNegByte extends Numeric[NonNegByte, Byte]
  33. object NonNegDouble extends Numeric[NonNegDouble, Double]
  34. object NonNegFloat extends Numeric[NonNegFloat, Float]
  35. object NonNegInt extends Numeric[NonNegInt, Int]
  36. object NonNegLong extends Numeric[NonNegLong, Long]
  37. object NonNegShort extends Numeric[NonNegShort, Short]
  38. object NonPosBigDecimal extends RefinedTypeOps[NonPosBigDecimal, BigDecimal]
  39. object NonPosBigInt extends RefinedTypeOps[NonPosBigInt, BigInt]
  40. object NonPosByte extends Numeric[NonPosByte, Byte]
  41. object NonPosDouble extends Numeric[NonPosDouble, Double]
  42. object NonPosFloat extends Numeric[NonPosFloat, Float]
  43. object NonPosInt extends Numeric[NonPosInt, Int]
  44. object NonPosLong extends Numeric[NonPosLong, Long]
  45. object NonPosShort extends Numeric[NonPosShort, Short]
  46. object PosBigDecimal extends RefinedTypeOps[PosBigDecimal, BigDecimal]
  47. object PosBigInt extends RefinedTypeOps[PosBigInt, BigInt]
  48. object PosByte extends Numeric[PosByte, Byte]
  49. object PosDouble extends Numeric[PosDouble, Double]
  50. object PosFloat extends Numeric[PosFloat, Float]
  51. object PosInt extends Numeric[PosInt, Int]
  52. object PosLong extends Numeric[PosLong, Long]
  53. object PosShort extends Numeric[PosShort, Short]

Inherited from AnyRef

Inherited from Any

Ungrouped