Class StringGenerator
java.lang.Object
com.pholser.junit.quickcheck.generator.Generator<String>
com.pholser.junit.quickcheck.generator.java.lang.AbstractStringGenerator
com.pholser.junit.quickcheck.generator.java.lang.StringGenerator
Produces Strings whose characters are in the interval
[0x0000, 0xD7FF].
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancodePointInRange(int codePoint) protected intnextCodePoint(SourceOfRandomness random) Methods inherited from class com.pholser.junit.quickcheck.generator.java.lang.AbstractStringGenerator
canShrink, doShrink, generate, magnitudeMethods inherited from class com.pholser.junit.quickcheck.generator.Generator
addComponentGenerators, canGenerateForParametersOfTypes, canRegisterAsType, compatibleWithTypeParameter, configurationAnnotationsOn, configure, configure, copy, gen, gen, hasComponents, narrow, numberOfNeededComponents, provide, shrink, types
-
Constructor Details
-
StringGenerator
public StringGenerator()
-
-
Method Details
-
nextCodePoint
- Specified by:
nextCodePointin classAbstractStringGenerator
-
codePointInRange
protected boolean codePointInRange(int codePoint) - Specified by:
codePointInRangein classAbstractStringGenerator
-