T - type of parameter of produced functionR - return type of produced functionpublic class FunctionGenerator<T,R> extends ComponentizedGenerator<Function>
Function.| Constructor and Description |
|---|
FunctionGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Function<T,R> |
generate(SourceOfRandomness random,
GenerationStatus status) |
int |
numberOfNeededComponents() |
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, componentGenerators, configure, hasComponents, provideRepositorycanShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, doShrink, narrow, shrink, typespublic Function<T,R> generate(SourceOfRandomness random, GenerationStatus status)
public int numberOfNeededComponents()
numberOfNeededComponents in class Generator<Function>Copyright © 2016. All rights reserved.