Package de.mhus.lib.core
Enum MPassword.METHOD
- java.lang.Object
-
- java.lang.Enum<MPassword.METHOD>
-
- de.mhus.lib.core.MPassword.METHOD
-
- All Implemented Interfaces:
Serializable,Comparable<MPassword.METHOD>
- Enclosing class:
- MPassword
public static enum MPassword.METHOD extends Enum<MPassword.METHOD>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MPassword.METHODvalueOf(String name)Returns the enum constant of this type with the specified name.static MPassword.METHOD[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DUMMY
public static final MPassword.METHOD DUMMY
-
ROT13
public static final MPassword.METHOD ROT13
-
RSA
public static final MPassword.METHOD RSA
-
HASH_MD5
public static final MPassword.METHOD HASH_MD5
-
-
Method Detail
-
values
public static MPassword.METHOD[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MPassword.METHOD c : MPassword.METHOD.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MPassword.METHOD 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 nameNullPointerException- if the argument is null
-
-