Enum SpeedStepScaleSpeedMatcherConfig.SpeedTable
- java.lang.Object
-
- java.lang.Enum<SpeedStepScaleSpeedMatcherConfig.SpeedTable>
-
- jmri.jmrix.bachrus.speedmatcher.speedStepScale.SpeedStepScaleSpeedMatcherConfig.SpeedTable
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SpeedStepScaleSpeedMatcherConfig.SpeedTable>
- Enclosing class:
- SpeedStepScaleSpeedMatcherConfig
public static enum SpeedStepScaleSpeedMatcherConfig.SpeedTable extends java.lang.Enum<SpeedStepScaleSpeedMatcherConfig.SpeedTable>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SpeedStepScaleSpeedMatcherConfig.SpeedTable
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SpeedStepScaleSpeedMatcherConfig.SpeedTable[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADVANCED
public static final SpeedStepScaleSpeedMatcherConfig.SpeedTable ADVANCED
-
ESU
public static final SpeedStepScaleSpeedMatcherConfig.SpeedTable ESU
-
-
Method Detail
-
values
public static SpeedStepScaleSpeedMatcherConfig.SpeedTable[] 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 (SpeedStepScaleSpeedMatcherConfig.SpeedTable c : SpeedStepScaleSpeedMatcherConfig.SpeedTable.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpeedStepScaleSpeedMatcherConfig.SpeedTable 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
-
-