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 NegDouble = Refined[Double, Negative]

    A Double less than 0.

  2. type NegFloat = Refined[Float, Negative]

    A Float less than 0.

  3. type NegInt = Refined[Int, Negative]

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

  4. type NegLong = Refined[Long, Negative]

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

  5. type NonNegDouble = Refined[Double, NonNegative]

    A Double greater than or equal to 0.

  6. type NonNegFloat = Refined[Float, NonNegative]

    A Float greater than or equal to 0.

  7. type NonNegInt = Refined[Int, NonNegative]

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

  8. type NonNegLong = Refined[Long, NonNegative]

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

  9. type NonPosDouble = Refined[Double, NonPositive]

    A Double less than or equal to 0.

  10. type NonPosFloat = Refined[Float, NonPositive]

    A Float less than or equal to 0.

  11. type NonPosInt = Refined[Int, NonPositive]

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

  12. type NonPosLong = Refined[Long, NonPositive]

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

  13. type PosDouble = Refined[Double, Positive]

    A Double greater than 0.

  14. type PosFloat = Refined[Float, Positive]

    A Float greater than 0.

  15. type PosInt = Refined[Int, Positive]

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

  16. type PosLong = Refined[Long, Positive]

    A Long in the range from 1 to Long.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
    @native() @throws(classOf[java.lang.CloneNotSupportedException])
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): 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[_]
    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
    @native() @throws(classOf[java.lang.InterruptedException])
  20. object NegDouble extends Numeric[NegDouble, Double]
  21. object NegFloat extends Numeric[NegFloat, Float]
  22. object NegInt extends Numeric[NegInt, Int]
  23. object NegLong extends Numeric[NegLong, Long]
  24. object NonNegDouble extends Numeric[NonNegDouble, Double]
  25. object NonNegFloat extends Numeric[NonNegFloat, Float]
  26. object NonNegInt extends Numeric[NonNegInt, Int]
  27. object NonNegLong extends Numeric[NonNegLong, Long]
  28. object NonPosDouble extends Numeric[NonPosDouble, Double]
  29. object NonPosFloat extends Numeric[NonPosFloat, Float]
  30. object NonPosInt extends Numeric[NonPosInt, Int]
  31. object NonPosLong extends Numeric[NonPosLong, Long]
  32. object PosDouble extends Numeric[PosDouble, Double]
  33. object PosFloat extends Numeric[PosFloat, Float]
  34. object PosInt extends Numeric[PosInt, Int]
  35. object PosLong extends Numeric[PosLong, Long]

Inherited from AnyRef

Inherited from Any

Ungrouped