public enum PasswordState extends Enum<PasswordState>
| Enum Constant and Description |
|---|
Empty
The empty state
|
Invalid
The invalid state
|
Valid
The valid state
|
| Modifier and Type | Method and Description |
|---|---|
static PasswordState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordState Empty
public static final PasswordState Valid
public static final PasswordState Invalid
public static PasswordState[] values()
for (PasswordState c : PasswordState.values()) System.out.println(c);
public static PasswordState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018 Alternet. All rights reserved.