trait FunctionVariants extends AnyRef
- Alphabetic
- By Inheritance
- FunctionVariants
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
function[R, A, B](gen: Gen[R, B]): 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
. -
final
def
function2[R, A, B, C](gen: Gen[R, C]): Gen[R, (A, B) ⇒ C]
A version of
function
that generates functions that accept two parameters. -
final
def
function3[R, A, B, C, D](gen: Gen[R, D]): Gen[R, (A, B, C) ⇒ D]
A version of
function
that generates functions that accept three parameters. -
final
def
function4[R, A, B, C, D, E](gen: Gen[R, E]): Gen[R, (A, B, C, D) ⇒ E]
A version of
function
that generates functions that accept four parameters. -
final
def
functionWith[R, A, B](gen: Gen[R, B])(hash: (A) ⇒ Int): 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. -
final
def
functionWith2[R, A, B, C](gen: Gen[R, C])(hash: (A, B) ⇒ Int): Gen[R, (A, B) ⇒ C]
A version of
functionWith
that generates functions that accept two parameters. -
final
def
functionWith3[R, A, B, C, D](gen: Gen[R, D])(hash: (A, B, C) ⇒ Int): Gen[R, (A, B, C) ⇒ D]
A version of
functionWith
that generates functions that accept three parameters. -
final
def
functionWith4[R, A, B, C, D, E](gen: Gen[R, E])(hash: (A, B, C, D) ⇒ Int): Gen[R, (A, B, C, D) ⇒ E]
A version of
functionWith
that generates functions that accept four parameters. -
final
def
getClass(): Class[_]
- 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( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()