Module org.panteleyev.commons
Package org.panteleyev.commons.password
Enum Class PasswordCharacterSet
- All Implemented Interfaces:
Serializable,Comparable<PasswordCharacterSet>,Constable
Defines password character sets.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDigits.Lower case letters.Symbols.Upper case letters. -
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordCharacterSetReturns the enum constant of this class with the specified name.static PasswordCharacterSet[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPPER_CASE_LETTERS
Upper case letters.A B C D E F G H I J K L M N O P Q R S T U V W X Y Z -
LOWER_CASE_LETTERS
Lower case letters.a b c d e f g h i j k l m n o p q r s t u v w x y z -
DIGITS
Digits.0 1 2 3 4 5 6 7 8 9 -
SYMBOLS
Symbols.@ # $ % & * ( ) - + = ^ . ,
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-