Package jmri.jmrit.logixng
Enum SymbolTable.InitialValueType
- java.lang.Object
-
- java.lang.Enum<SymbolTable.InitialValueType>
-
- jmri.jmrit.logixng.SymbolTable.InitialValueType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SymbolTable.InitialValueType>
- Enclosing interface:
- SymbolTable
public static enum SymbolTable.InitialValueType extends java.lang.Enum<SymbolTable.InitialValueType>
An enum that defines the types of initial value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Array
Boolean
FloatingNumber
Formula
Integer
LocalVariable
LogixNG_Table
Map
Memory
None
Reference
ScriptExpression
ScriptFile
String
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isValidAsParameter()
java.lang.String
toString()
static SymbolTable.InitialValueType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SymbolTable.InitialValueType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final SymbolTable.InitialValueType None
-
Boolean
public static final SymbolTable.InitialValueType Boolean
-
Integer
public static final SymbolTable.InitialValueType Integer
-
FloatingNumber
public static final SymbolTable.InitialValueType FloatingNumber
-
String
public static final SymbolTable.InitialValueType String
-
Array
public static final SymbolTable.InitialValueType Array
-
Map
public static final SymbolTable.InitialValueType Map
-
LocalVariable
public static final SymbolTable.InitialValueType LocalVariable
-
Memory
public static final SymbolTable.InitialValueType Memory
-
Reference
public static final SymbolTable.InitialValueType Reference
-
Formula
public static final SymbolTable.InitialValueType Formula
-
ScriptExpression
public static final SymbolTable.InitialValueType ScriptExpression
-
ScriptFile
public static final SymbolTable.InitialValueType ScriptFile
-
LogixNG_Table
public static final SymbolTable.InitialValueType LogixNG_Table
-
-
Method Detail
-
values
public static SymbolTable.InitialValueType[] 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 (SymbolTable.InitialValueType c : SymbolTable.InitialValueType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SymbolTable.InitialValueType 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<SymbolTable.InitialValueType>
-
isValidAsParameter
public boolean isValidAsParameter()
-
-