Class StringGenerator
- java.lang.Object
-
- de.cuioss.test.generator.internal.net.java.quickcheck.generator.support.StringGenerator
-
- All Implemented Interfaces:
ExtendibleGenerator<Character,String>,Generator<String>
public class StringGenerator extends Object implements ExtendibleGenerator<Character,String>
-
-
Field Summary
Fields Modifier and Type Field Description static intMAX_LENGTHstatic intMIN_LENGTH
-
Constructor Summary
Constructors Constructor Description StringGenerator()StringGenerator(char first, char last)StringGenerator(Generator<Character> characters)StringGenerator(Generator<Integer> length, Generator<Character> characters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendibleGenerator<Character,String>add(Generator<Character> characterGenerator)Add a new generator.Stringnext()Generates the next instance.
-
-
-
Field Detail
-
MIN_LENGTH
public static final int MIN_LENGTH
- See Also:
- Constant Field Values
-
MAX_LENGTH
public static final int MAX_LENGTH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StringGenerator
public StringGenerator()
-
StringGenerator
public StringGenerator(char first, char last)
-
StringGenerator
public StringGenerator(Generator<Character> characters)
-
StringGenerator
public StringGenerator(Generator<Integer> length, Generator<Character> characters)
-
-
Method Detail
-
add
public ExtendibleGenerator<Character,String> add(Generator<Character> characterGenerator)
Description copied from interface:ExtendibleGeneratorAdd a new generator.- Specified by:
addin interfaceExtendibleGenerator<Character,String>- Returns:
- this generator instance
-
-