com.carrotsearch.randomizedtesting.generators.AsciiAlphanumGenerator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of randomizedtesting Show documentation
Show all versions of randomizedtesting Show documentation
Libraries for Elasticsearch
The newest version!
package com.carrotsearch.randomizedtesting.generators;
/**
* A generator emitting simple ASCII alphanumeric letters and numbers
* from the set (newlines not counted):
*
* abcdefghijklmnopqrstuvwxyz
* ABCDEFGHIJKLMNOPQRSTUVWXYZ
* 0123456789
*
*/
public class AsciiAlphanumGenerator extends CodepointSetGenerator {
private final static char [] CHARS =
("abcdefghijklmnopqrstuvwxyz" +
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" +
"0123456789").toCharArray();
public AsciiAlphanumGenerator() {
super(CHARS);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy