Package jmri.jmrix.bachrus.speedmatcher
Enum SpeedMatcher.ProgrammerState
- java.lang.Object
-
- java.lang.Enum<SpeedMatcher.ProgrammerState>
-
- jmri.jmrix.bachrus.speedmatcher.SpeedMatcher.ProgrammerState
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedMatcher.ProgrammerState>
- Enclosing class:
- SpeedMatcher
protected static enum SpeedMatcher.ProgrammerState extends java.lang.Enum<SpeedMatcher.ProgrammerState>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpeedMatcher.ProgrammerState
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedMatcher.ProgrammerState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IDLE
public static final SpeedMatcher.ProgrammerState IDLE
-
WRITE2
public static final SpeedMatcher.ProgrammerState WRITE2
-
WRITE3
public static final SpeedMatcher.ProgrammerState WRITE3
-
WRITE4
public static final SpeedMatcher.ProgrammerState WRITE4
-
WRITE5
public static final SpeedMatcher.ProgrammerState WRITE5
-
WRITE6
public static final SpeedMatcher.ProgrammerState WRITE6
-
WRITE66
public static final SpeedMatcher.ProgrammerState WRITE66
-
WRITE95
public static final SpeedMatcher.ProgrammerState WRITE95
-
WRITE_SPEED_TABLE_STEP
public static final SpeedMatcher.ProgrammerState WRITE_SPEED_TABLE_STEP
-
-
Method Detail
-
values
public static SpeedMatcher.ProgrammerState[] 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 (SpeedMatcher.ProgrammerState c : SpeedMatcher.ProgrammerState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpeedMatcher.ProgrammerState valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-