Package com.diozero.devices.sandpit
Enum SilentStepStick.Resolution
- java.lang.Object
-
- java.lang.Enum<SilentStepStick.Resolution>
-
- com.diozero.devices.sandpit.SilentStepStick.Resolution
-
- All Implemented Interfaces:
Serializable
,Comparable<SilentStepStick.Resolution>
- Enclosing class:
- SilentStepStick
public static enum SilentStepStick.Resolution extends Enum<SilentStepStick.Resolution>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getResolution()
static SilentStepStick.Resolution
valueOf(String name)
Returns the enum constant of this type with the specified name.static SilentStepStick.Resolution[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL
public static final SilentStepStick.Resolution FULL
-
HALF
public static final SilentStepStick.Resolution HALF
-
QUARTER
public static final SilentStepStick.Resolution QUARTER
-
EIGTH
public static final SilentStepStick.Resolution EIGTH
-
SIXTEENTH
public static final SilentStepStick.Resolution SIXTEENTH
-
-
Method Detail
-
values
public static SilentStepStick.Resolution[] 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 (SilentStepStick.Resolution c : SilentStepStick.Resolution.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SilentStepStick.Resolution 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
-
getResolution
public int getResolution()
-
-