object GenF2 extends FunctionVariants
- Alphabetic
- By Inheritance
- GenF2
- FunctionVariants
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def function[R, A, B](gen: Gen[R, B])(implicit trace: Trace): Gen[R, (A) => B]
Constructs a generator of functions from
A
toB
given a generator ofB
values.Constructs a generator of functions from
A
toB
given a generator ofB
values. TwoA
values will be considered to be equal, and thus will be guaranteed to generate the sameB
value, if they have the samehashCode
.- Definition Classes
- FunctionVariants
- val function1: GenF2[Any, Function1]
A generator of
Function1
A => B values. - final def function2[R, A, B, C](gen: Gen[R, C])(implicit trace: Trace): Gen[R, (A, B) => C]
A version of
function
that generates functions that accept two parameters.A version of
function
that generates functions that accept two parameters.- Definition Classes
- FunctionVariants
- final def function3[R, A, B, C, D](gen: Gen[R, D])(implicit trace: Trace): Gen[R, (A, B, C) => D]
A version of
function
that generates functions that accept three parameters.A version of
function
that generates functions that accept three parameters.- Definition Classes
- FunctionVariants
- final def function4[R, A, B, C, D, E](gen: Gen[R, E])(implicit trace: Trace): Gen[R, (A, B, C, D) => E]
A version of
function
that generates functions that accept four parameters.A version of
function
that generates functions that accept four parameters.- Definition Classes
- FunctionVariants
- final def functionWith[R, A, B](gen: Gen[R, B])(hash: (A) => Int)(implicit trace: Trace): Gen[R, (A) => B]
Constructs a generator of functions from
A
toB
given a generator ofB
values and a hashing function forA
values.Constructs a generator of functions from
A
toB
given a generator ofB
values and a hashing function forA
values. TwoA
values will be considered to be equal, and thus will be guaranteed to generate the sameB
value, if they have have the same hash. This is useful whenA
does not implementhashCode
in a way that is consistent with equality.- Definition Classes
- FunctionVariants
- final def functionWith2[R, A, B, C](gen: Gen[R, C])(hash: (A, B) => Int)(implicit trace: Trace): Gen[R, (A, B) => C]
A version of
functionWith
that generates functions that accept two parameters.A version of
functionWith
that generates functions that accept two parameters.- Definition Classes
- FunctionVariants
- final def functionWith3[R, A, B, C, D](gen: Gen[R, D])(hash: (A, B, C) => Int)(implicit trace: Trace): Gen[R, (A, B, C) => D]
A version of
functionWith
that generates functions that accept three parameters.A version of
functionWith
that generates functions that accept three parameters.- Definition Classes
- FunctionVariants
- final def functionWith4[R, A, B, C, D, E](gen: Gen[R, E])(hash: (A, B, C, D) => Int)(implicit trace: Trace): Gen[R, (A, B, C, D) => E]
A version of
functionWith
that generates functions that accept four parameters.A version of
functionWith
that generates functions that accept four parameters.- Definition Classes
- FunctionVariants
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()