basis.stat

Arbitrary

object Arbitrary

Contains builtin Arbitrary value generators.

Source
Arbitrary.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Arbitrary
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
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. implicit def Alphanumeric(implicit S: Random): Arbitrary[Char]

  5. implicit def Boolean(implicit S: Random): Arbitrary[Boolean]

  6. implicit def Byte(implicit S: Random): Arbitrary[Byte]

  7. def ByteBelow(upper: Byte)(implicit S: Random): Arbitrary[Byte]

  8. def ByteBetween(lower: Byte, upper: Byte)(implicit S: Random): Arbitrary[Byte]

  9. def Collection[CC[_], A](length: Arbitrary[Int])(implicit CC: CollectionFactory[CC], A: Arbitrary[A]): Arbitrary[CC[A]]

  10. implicit def Collection[CC[_], A](implicit CC: CollectionFactory[CC], A: Arbitrary[A]): Arbitrary[CC[A]]

  11. def Constant[A](value: A): Arbitrary[A]

  12. implicit def Double(implicit S: Random): Arbitrary[Double]

  13. def DoubleBelow(upper: Double)(implicit S: Random): Arbitrary[Double]

  14. def DoubleBetween(lower: Double, upper: Double)(implicit S: Random): Arbitrary[Double]

  15. implicit def Float(implicit S: Random): Arbitrary[Float]

  16. def FloatBelow(upper: Float)(implicit S: Random): Arbitrary[Float]

  17. def FloatBetween(lower: Float, upper: Float)(implicit S: Random): Arbitrary[Float]

  18. implicit def Int(implicit S: Random): Arbitrary[Int]

  19. def IntBelow(upper: Int)(implicit S: Random): Arbitrary[Int]

  20. def IntBetween(lower: Int, upper: Int)(implicit S: Random): Arbitrary[Int]

  21. def Letter(implicit S: Random): Arbitrary[Char]

  22. implicit def Long(implicit S: Random): Arbitrary[Long]

  23. def LongBelow(upper: Long)(implicit S: Random): Arbitrary[Long]

  24. def LongBetween(lower: Long, upper: Long)(implicit S: Random): Arbitrary[Long]

  25. def Lowercase(implicit S: Random): Arbitrary[Char]

  26. def Map[CC[_, _], A, T](length: Arbitrary[Int])(implicit CC: MapFactory[CC], A: Arbitrary[A], T: Arbitrary[T]): Arbitrary[CC[A, T]]

  27. implicit def Map[CC[_, _], A, T](implicit CC: MapFactory[CC], A: Arbitrary[A], T: Arbitrary[T]): Arbitrary[CC[A, T]]

  28. def Numeral(implicit S: Random): Arbitrary[Char]

  29. def PositiveByte(implicit S: Random): Arbitrary[Byte]

  30. def PositiveInt(implicit S: Random): Arbitrary[Int]

  31. def PositiveLong(implicit S: Random): Arbitrary[Long]

  32. def PositiveShort(implicit S: Random): Arbitrary[Short]

  33. implicit def Short(implicit S: Random): Arbitrary[Short]

  34. def ShortBelow(upper: Short)(implicit S: Random): Arbitrary[Short]

  35. def ShortBetween(lower: Short, upper: Short)(implicit S: Random): Arbitrary[Short]

  36. final val Specialized: Group[(scala.Byte.type, scala.Short.type, scala.Int.type, scala.Long.type, Char.type, scala.Float.type, scala.Double.type, scala.Boolean.type)]

    Attributes
    protected
  37. def String(length: Arbitrary[Int])(implicit C: Arbitrary[Char]): Arbitrary[String]

  38. implicit def String(implicit C: Arbitrary[Char]): Arbitrary[String]

  39. implicit def Tuple2[T1, T2](implicit T1: Arbitrary[T1], T2: Arbitrary[T2]): Arbitrary[(T1, T2)]

  40. implicit def Tuple3[T1, T2, T3](implicit T1: Arbitrary[T1], T2: Arbitrary[T2], T3: Arbitrary[T3]): Arbitrary[(T1, T2, T3)]

  41. implicit def Tuple4[T1, T2, T3, T4](implicit T1: Arbitrary[T1], T2: Arbitrary[T2], T3: Arbitrary[T3], T4: Arbitrary[T4]): Arbitrary[(T1, T2, T3, T4)]

  42. implicit def Unit: Arbitrary[Unit]

  43. def Uppercase(implicit S: Random): Arbitrary[Char]

  44. implicit def apply[T1, T2, T3, T4, R](f: (T1, T2, T3, T4) ⇒ R)(implicit T1: Arbitrary[T1], T2: Arbitrary[T2], T3: Arbitrary[T3], T4: Arbitrary[T4]): Arbitrary[R]

  45. implicit def apply[T1, T2, T3, R](f: (T1, T2, T3) ⇒ R)(implicit T1: Arbitrary[T1], T2: Arbitrary[T2], T3: Arbitrary[T3]): Arbitrary[R]

  46. implicit def apply[T1, T2, R](f: (T1, T2) ⇒ R)(implicit T1: Arbitrary[T1], T2: Arbitrary[T2]): Arbitrary[R]

  47. implicit def apply[T1, R](f: (T1) ⇒ R)(implicit T1: Arbitrary[T1]): Arbitrary[R]

  48. def apply[A](implicit A: Arbitrary[A]): A.type

  49. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  50. def choose[A](count: Int, elems: Traverser[A])(implicit S: Random): Arbitrary[List[A]]

  51. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  54. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  55. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  56. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  57. final def isInstanceOf[T0]: Boolean

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

    Definition Classes
    AnyRef
  59. final def notify(): Unit

    Definition Classes
    AnyRef
  60. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  61. def pick[A](elems: Traverser[A])(implicit S: Random): Arbitrary[A]

  62. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  63. def toString(): String

    Definition Classes
    AnyRef → Any
  64. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped