| Constructor and Description |
|---|
DoubleGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(InRange range)
Tells this generator to produce values within a specified minimum (inclusive) and/or maximum (exclusive)
with uniform distribution.
|
Double |
generate(SourceOfRandomness random,
GenerationStatus status) |
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, compatibleWithTypeParameter, configure, hasComponents, numberOfNeededComponents, provideRepository, typespublic void configure(InRange range)
InRange.min() and InRange.max() take precedence over InRange.minDouble() and
InRange.maxDouble(), if non-empty.range - annotation that gives the range's constraintspublic Double generate(SourceOfRandomness random, GenerationStatus status)
Copyright © 2015. All Rights Reserved.