java.io.Serializable
, java.lang.Comparable<Password.Strenght>
public static enum Password.Strenght extends java.lang.Enum<Password.Strenght>
Enum Constant | Description |
---|---|
MEDIUM |
|
STRONG |
|
VERY_STRONG |
|
VERY_WEAK |
|
WEAK |
Modifier and Type | Method | Description |
---|---|---|
static Password.Strenght |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Password.Strenght[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Password.Strenght VERY_WEAK
public static final Password.Strenght WEAK
public static final Password.Strenght MEDIUM
public static final Password.Strenght STRONG
public static final Password.Strenght VERY_STRONG
public static Password.Strenght[] values()
for (Password.Strenght c : Password.Strenght.values()) System.out.println(c);
public static Password.Strenght valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null