public static enum GenerateString.Type extends Enum<GenerateString.Type>
| Enum Constant and Description |
|---|
ALPHABETIC |
ALPHANUMERIC |
HEXADECIMAL |
NUMERIC |
UUID
For UUIDS, the
GenerateString.length() property will be ignored, and instead the standard UUID size from UUID.randomUUID() is used. |
| Modifier and Type | Method and Description |
|---|---|
static GenerateString.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenerateString.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenerateString.Type ALPHABETIC
public static final GenerateString.Type ALPHANUMERIC
public static final GenerateString.Type HEXADECIMAL
public static final GenerateString.Type NUMERIC
public static final GenerateString.Type UUID
GenerateString.length() property will be ignored, and instead the standard UUID size from UUID.randomUUID() is used.public static GenerateString.Type[] values()
for (GenerateString.Type c : GenerateString.Type.values()) System.out.println(c);
public static GenerateString.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2015–2018 RedRoma, Inc.. All rights reserved.