Object/Trait

org.scalacheck.Gen

Choose

Related Docs: trait Choose | package Gen

Permalink

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

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. implicit val chooseBigDecimal: Choose[BigDecimal]

    Permalink

    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 object chooseBigInt extends Choose[BigInt]

    Permalink
  7. implicit object chooseBigInteger extends Choose[BigInteger]

    Permalink
  8. implicit val chooseByte: Choose[Byte]

    Permalink
  9. implicit val chooseChar: Choose[Char]

    Permalink
  10. implicit val chooseDouble: Choose[Double]

    Permalink
  11. implicit val chooseFiniteDuration: Choose[FiniteDuration]

    Permalink
  12. implicit val chooseFloat: Choose[Float]

    Permalink
  13. implicit val chooseInt: Choose[Int]

    Permalink
  14. implicit val chooseJavaBigDecimal: Choose[BigDecimal]

    Permalink

    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.

  15. implicit val chooseLong: Choose[Long]

    Permalink
  16. implicit val chooseShort: Choose[Short]

    Permalink
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def xmap[T, U](from: (T) ⇒ U, to: (U) ⇒ T)(implicit c: Choose[T]): Choose[U]

    Permalink

    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)

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped