Packages

object Choose extends Serializable

Provides implicit org.scalacheck.Gen.Choose instances

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Choose
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class IllegalBoundsError[A] extends IllegalArgumentException

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. implicit val chooseBigDecimal: Choose[BigDecimal]

    Choose a BigDecimal number between two given numbers.

    Choose a BigDecimal number between two given numbers.

    The minimum scale used will be 34. That means that the fractional part will have at least 34 digits (more if one of the given numbers has a scale larger than 34).

    The minimum scale was chosen based on Scala's default scale for expanding infinite fractions:

    BigDecimal(1) / 3 // 0.3333333333333333333333333333333333

    See chooseBigDecimalScale for more information about scale.

  6. implicit val chooseByte: Choose[Byte]
  7. implicit val chooseChar: Choose[Char]
  8. implicit val chooseDouble: Choose[Double]
  9. implicit val chooseFiniteDuration: Choose[FiniteDuration]
  10. implicit val chooseFloat: Choose[Float]
  11. implicit val chooseInt: Choose[Int]
  12. implicit val chooseJavaBigDecimal: Choose[BigDecimal]

    Choose a java.math.BigDecimal number between two given numbers.

    Choose a java.math.BigDecimal number between two given numbers.

    See chooseBigDecimal and chooseBigDecimalScale for more comments.

  13. implicit val chooseLong: Choose[Long]
  14. implicit val chooseShort: Choose[Short]
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. def xmap[T, U](from: (T) ⇒ U, to: (U) ⇒ T)(implicit c: Choose[T]): Choose[U]

    Transform a Choose[T] to a Choose[U] where T and U are two isomorphic types whose relationship is described by the provided transformation functions.

    Transform a Choose[T] to a Choose[U] where T and U are two isomorphic types whose relationship is described by the provided transformation functions. (exponential functor map)

  30. implicit object chooseBigInt extends Choose[BigInt]
  31. implicit object chooseBigInteger extends Choose[BigInteger]

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped