public static class Functions.FunctionWrapper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
<F,R> FunctionArbitrary<F,R> |
returning(Arbitrary<R> resultArbitrary)
Create an arbitrary to create instances of functions represented by this wrapper.
|
@API(status=MAINTAINED, since="1.6.0") public <F,R> FunctionArbitrary<F,R> returning(Arbitrary<R> resultArbitrary)
F
- The exact functional type to generateR
- The return type of the functional interfaceresultArbitrary
- The arbitrary used to generate return values