Package | Description |
---|---|
com.pholser.junit.quickcheck.generator |
Modifier and Type | Method and Description |
---|---|
<T> GenerationStatus |
GenerationStatus.setValue(GenerationStatus.Key<T> key,
T value)
Associates the given value with the given key for the duration of the
generation of a value for a property parameter, or until overwritten.
|
Modifier and Type | Method and Description |
---|---|
T |
Gen.generate(SourceOfRandomness random,
GenerationStatus status)
Generates a value, possibly influenced by a source of randomness and
metadata about the generation.
|
T |
Fields.generate(SourceOfRandomness random,
GenerationStatus status) |
T |
Ctor.generate(SourceOfRandomness random,
GenerationStatus status) |
static <T,U> T |
Lambdas.makeLambda(Class<T> lambdaType,
Generator<U> returnValueGenerator,
GenerationStatus status)
Creates an instance of a given "functional interface" type, whose
single abstract method returns values of the type produced by the given
generator.
|
© Copyright 2010-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu