java.lang.Object
java.lang.Enum<TextType>
ushiosan.jvm_utilities.lang.random.TextType
All Implemented Interfaces:
Serializable, Comparable<TextType>, java.lang.constant.Constable

public enum TextType extends Enum<TextType>
Enumerated type that identifies what type of text is the one that will be generated randomly
  • Enum Constant Details

    • LETTERS

      public static final TextType LETTERS
      Element that identifies only letter type characters and excludes numbers and special characters.
    • NUMERIC

      public static final TextType NUMERIC
      Element that identifies only characters of type number
    • ALPHANUMERIC

      public static final TextType ALPHANUMERIC
      Element that identifies letter and number type characters
    • ALL_SYMBOLS

      public static final TextType ALL_SYMBOLS
      Element that identifies any character within the ASCII standard
  • Field Details

  • Method Details

    • values

      public static TextType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TextType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null