# Uses of Class
org.apache.commons.text.RandomStringGenerator.Builder

Packages that use RandomStringGenerator.Builder
Package
Description
org.apache.commons.text
Basic classes for text handling.

- ## Uses of RandomStringGenerator.Builder in org.apache.commons.text

  Methods in org.apache.commons.text that return RandomStringGenerator.Builder
  Modifier and Type
  Method
  Description
  `static RandomStringGenerator.Builder`
  RandomStringGenerator.`builder()`
  Constructs a new builder.
  `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.`setAccumulate(boolean accumulate)`
  Sets whether calls accumulates the source of provided characters.
  `RandomStringGenerator.Builder`
  RandomStringGenerator.Builder.`usingRandom(IntUnaryOperator random)`
  Overrides the default source of randomness.
  `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.