Enum CharacterSet

java.lang.Object
java.lang.Enum<CharacterSet>
com.sanctionco.opconnect.model.CharacterSet
All Implemented Interfaces:
Serializable, Comparable<CharacterSet>, java.lang.constant.Constable

public enum CharacterSet extends Enum<CharacterSet>
Represents all allowed types of character sets.
  • Enum Constant Details

    • LETTERS

      public static final CharacterSet LETTERS
      The character set consisting of only letters.
    • DIGITS

      public static final CharacterSet DIGITS
      The character set consisting of only numerical digits.
    • SYMBOLS

      public static final CharacterSet SYMBOLS
      The character set consisting of only symbols.
  • Method Details

    • values

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

      public static CharacterSet 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 name
      NullPointerException - if the argument is null
    • letters

      public static List<CharacterSet> letters()
      Returns a list of CharacterSet containing only letters.
      Returns:
      the new List
    • digits

      public static List<CharacterSet> digits()
      Returns a list of CharacterSet containing only digits.
      Returns:
      the new List
    • symbols

      public static List<CharacterSet> symbols()
      Returns a list of CharacterSet containing only symbols.
      Returns:
      the new List
    • lettersAndDigits

      public static List<CharacterSet> lettersAndDigits()
      Returns a list of CharacterSet containing letters and digits.
      Returns:
      the new List
    • lettersAndSymbols

      public static List<CharacterSet> lettersAndSymbols()
      Returns a list of CharacterSet containing letters and symbols.
      Returns:
      the new List
    • digitsAndSymbols

      public static List<CharacterSet> digitsAndSymbols()
      Returns a list of CharacterSet containing digits and symbols.
      Returns:
      the new List
    • allCharacters

      public static List<CharacterSet> allCharacters()
      Returns a list of CharacterSet containing all characters.
      Returns:
      the new List