Enum MicroStepsEnum
- java.lang.Object
-
- java.lang.Enum<MicroStepsEnum>
-
- org.bidib.wizard.mvc.stepcontrol.model.MicroStepsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<MicroStepsEnum>
public enum MicroStepsEnum extends Enum<MicroStepsEnum>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MicroStepsEnumfromValue(Integer value)StringgetKey()IntegergetSteps()StringtoString()static MicroStepsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static MicroStepsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
steps8
public static final MicroStepsEnum steps8
-
steps16
public static final MicroStepsEnum steps16
-
steps32
public static final MicroStepsEnum steps32
-
steps64
public static final MicroStepsEnum steps64
-
steps128
public static final MicroStepsEnum steps128
-
steps256
public static final MicroStepsEnum steps256
-
-
Method Detail
-
values
public static MicroStepsEnum[] 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 (MicroStepsEnum c : MicroStepsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MicroStepsEnum 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
-
getKey
public String getKey()
-
getSteps
public Integer getSteps()
-
fromValue
public static MicroStepsEnum fromValue(Integer value)
-
toString
public String toString()
- Overrides:
toStringin classEnum<MicroStepsEnum>
-
-