Package jmri.jmrit.logixng.expressions
Enum ExpressionMemory.MemoryOperation
- java.lang.Object
-
- java.lang.Enum<ExpressionMemory.MemoryOperation>
-
- jmri.jmrit.logixng.expressions.ExpressionMemory.MemoryOperation
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionMemory.MemoryOperation>
- Enclosing class:
- ExpressionMemory
public static enum ExpressionMemory.MemoryOperation extends java.lang.Enum<ExpressionMemory.MemoryOperation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Equal
GreaterThan
GreaterThanOrEqual
IsNotNull
IsNull
LessThan
LessThanOrEqual
MatchRegex
NotEqual
NotMatchRegex
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasExtraValue()
java.lang.String
toString()
static ExpressionMemory.MemoryOperation
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionMemory.MemoryOperation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LessThan
public static final ExpressionMemory.MemoryOperation LessThan
-
LessThanOrEqual
public static final ExpressionMemory.MemoryOperation LessThanOrEqual
-
Equal
public static final ExpressionMemory.MemoryOperation Equal
-
GreaterThanOrEqual
public static final ExpressionMemory.MemoryOperation GreaterThanOrEqual
-
GreaterThan
public static final ExpressionMemory.MemoryOperation GreaterThan
-
NotEqual
public static final ExpressionMemory.MemoryOperation NotEqual
-
IsNull
public static final ExpressionMemory.MemoryOperation IsNull
-
IsNotNull
public static final ExpressionMemory.MemoryOperation IsNotNull
-
MatchRegex
public static final ExpressionMemory.MemoryOperation MatchRegex
-
NotMatchRegex
public static final ExpressionMemory.MemoryOperation NotMatchRegex
-
-
Method Detail
-
values
public static ExpressionMemory.MemoryOperation[] 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 (ExpressionMemory.MemoryOperation c : ExpressionMemory.MemoryOperation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionMemory.MemoryOperation 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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ExpressionMemory.MemoryOperation>
-
hasExtraValue
public boolean hasExtraValue()
-
-