| Constructor and Description |
|---|
OptionalGenerator() |
| Modifier and Type | Method and Description |
|---|---|
List<Optional> |
doShrink(SourceOfRandomness random,
Optional larger) |
Optional<?> |
generate(SourceOfRandomness random,
GenerationStatus status) |
BigDecimal |
magnitude(Object value) |
int |
numberOfNeededComponents() |
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, componentGenerators, configure, hasComponents, providecanShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, copy, gen, gen, narrow, shrink, typespublic Optional<?> generate(SourceOfRandomness random, GenerationStatus status)
public List<Optional> doShrink(SourceOfRandomness random, Optional larger)
public int numberOfNeededComponents()
numberOfNeededComponents in class Generator<Optional>public BigDecimal magnitude(Object value)
© Copyright 2010-2020 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu