Package jmri
Enum Conditional.AntecedentOperator
- java.lang.Object
-
- java.lang.Enum<Conditional.AntecedentOperator>
-
- jmri.Conditional.AntecedentOperator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Conditional.AntecedentOperator>
- Enclosing interface:
- Conditional
public static enum Conditional.AntecedentOperator extends java.lang.Enum<Conditional.AntecedentOperator>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIntValue()
static Conditional.AntecedentOperator
getOperatorFromIntValue(int value)
java.lang.String
toString()
static Conditional.AntecedentOperator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Conditional.AntecedentOperator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL_AND
public static final Conditional.AntecedentOperator ALL_AND
-
ALL_OR
public static final Conditional.AntecedentOperator ALL_OR
-
MIXED
public static final Conditional.AntecedentOperator MIXED
-
-
Method Detail
-
values
public static Conditional.AntecedentOperator[] 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 (Conditional.AntecedentOperator c : Conditional.AntecedentOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Conditional.AntecedentOperator 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
-
getIntValue
public int getIntValue()
-
getOperatorFromIntValue
public static Conditional.AntecedentOperator getOperatorFromIntValue(int value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Conditional.AntecedentOperator>
-
-