Package | Description |
---|---|
org.apache.commons.text |
Basic classes for text handling.
|
Modifier and Type | Method and Description |
---|---|
RandomStringGenerator.Builder |
RandomStringGenerator.Builder.filteredBy(CharacterPredicate... predicates)
Limits the characters in the generated string to those that match at
least one of the predicates supplied.
|
RandomStringGenerator.Builder |
RandomStringGenerator.Builder.selectFrom(char... chars)
Limits the characters in the generated string to those who match at
supplied list of Character.
|
RandomStringGenerator.Builder |
RandomStringGenerator.Builder.usingRandom(TextRandomProvider random)
Overrides the default source of randomness.
|
RandomStringGenerator.Builder |
RandomStringGenerator.Builder.withinRange(char[]... pairs)
Sets the array of minimum and maximum char allowed in the
generated string.
|
RandomStringGenerator.Builder |
RandomStringGenerator.Builder.withinRange(int minimumCodePoint,
int maximumCodePoint)
Sets the minimum and maximum code points allowed in the
generated string.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.