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
AtoBgiven a generator ofBvalues.Constructs a generator of functions from
AtoBgiven a generator ofBvalues. TwoAvalues will be considered to be equal, and thus will be guaranteed to generate the sameBvalue, if they have the samehashCode.- Definition Classes
- FunctionVariants
- val function1: GenF2[Any, Function1]
A generator of
Function1A => B values. - final def function2[R, A, B, C](gen: Gen[R, C])(implicit trace: Trace): Gen[R, (A, B) => C]
A version of
functionthat generates functions that accept two parameters.A version of
functionthat 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
functionthat generates functions that accept three parameters.A version of
functionthat 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
functionthat generates functions that accept four parameters.A version of
functionthat 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
AtoBgiven a generator ofBvalues and a hashing function forAvalues.Constructs a generator of functions from
AtoBgiven a generator ofBvalues and a hashing function forAvalues. TwoAvalues will be considered to be equal, and thus will be guaranteed to generate the sameBvalue, if they have have the same hash. This is useful whenAdoes not implementhashCodein 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
functionWiththat generates functions that accept two parameters.A version of
functionWiththat 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
functionWiththat generates functions that accept three parameters.A version of
functionWiththat 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
functionWiththat generates functions that accept four parameters.A version of
functionWiththat 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()