public static enum PasswordData.Origin extends Enum<PasswordData.Origin>
Enum Constant and Description |
---|
Generated
a password which was generated by a sufficient random source.
|
User
a password which was generated by a typical human user.
|
Modifier and Type | Method and Description |
---|---|
static PasswordData.Origin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordData.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordData.Origin User
public static final PasswordData.Origin Generated
public static PasswordData.Origin[] values()
for (PasswordData.Origin c : PasswordData.Origin.values()) System.out.println(c);
public static PasswordData.Origin 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 © 2003-2024 Virginia Tech. All Rights Reserved.