T - the type of set generatedpublic abstract class SetGenerator<T extends Set> extends CollectionGenerator<T>
Sets.| Modifier | Constructor and Description |
|---|---|
protected |
SetGenerator(Class<T> type) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Size size)
Tells this generator to add elements to the generated collection
a number of times within a specified minimum and/or maximum, inclusive,
chosen with uniform distribution.
|
configure, doShrink, empty, generate, magnitude, numberOfNeededComponents, setDistinctaddComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, componentGenerators, configure, hasComponents, providecanShrink, compatibleWithTypeParameter, configurationAnnotationsOn, configure, copy, gen, gen, narrow, shrink, typespublic void configure(Size size)
CollectionGeneratorTells this generator to add elements to the generated collection a number of times within a specified minimum and/or maximum, inclusive, chosen with uniform distribution.
Note that some kinds of collections disallow duplicates, so the
number of elements added may not be equal to the collection's
Collection.size().
configure in class CollectionGenerator<T extends Set>size - annotation that gives the size constraints© Copyright 2010-2020 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu