Uses of Class
org.apache.commons.text.RandomStringGenerator.Builder
Packages that use RandomStringGenerator.Builder
-
Uses of RandomStringGenerator.Builder in org.apache.commons.text
Methods in org.apache.commons.text that return RandomStringGenerator.BuilderModifier and TypeMethodDescriptionRandomStringGenerator.builder()
Constructs a new 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.selectFrom
(char... chars) Limits the characters in the generated string to those who match at supplied list of Character.RandomStringGenerator.Builder.usingRandom
(TextRandomProvider random) Overrides the default source of randomness.RandomStringGenerator.Builder.withinRange
(char[]... pairs) Sets the array of minimum and maximum char allowed in the generated string.RandomStringGenerator.Builder.withinRange
(int minimumCodePoint, int maximumCodePoint) Sets the minimum and maximum code points allowed in the generated string.