- java.lang.Object
-
- java.lang.Enum<WordsGenerator.Alphabet>
-
- com.appslandia.common.base.WordsGenerator.Alphabet
-
- All Implemented Interfaces:
Serializable,Comparable<WordsGenerator.Alphabet>
- Enclosing class:
- WordsGenerator
public static enum WordsGenerator.Alphabet extends Enum<WordsGenerator.Alphabet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIGITSDIGITS_AZDIGITS_AZ_LOWERDIGITS_AZ_UPPER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WordsGenerator.AlphabetvalueOf(String name)Returns the enum constant of this type with the specified name.static WordsGenerator.Alphabet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIGITS
public static final WordsGenerator.Alphabet DIGITS
-
DIGITS_AZ_UPPER
public static final WordsGenerator.Alphabet DIGITS_AZ_UPPER
-
DIGITS_AZ_LOWER
public static final WordsGenerator.Alphabet DIGITS_AZ_LOWER
-
DIGITS_AZ
public static final WordsGenerator.Alphabet DIGITS_AZ
-
-
Method Detail
-
values
public static WordsGenerator.Alphabet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WordsGenerator.Alphabet c : WordsGenerator.Alphabet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WordsGenerator.Alphabet valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-