Package org.openl.rules.calc.element
Enum SpreadsheetExpressionMarker
- java.lang.Object
-
- java.lang.Enum<SpreadsheetExpressionMarker>
-
- org.openl.rules.calc.element.SpreadsheetExpressionMarker
-
- All Implemented Interfaces:
Serializable,Comparable<SpreadsheetExpressionMarker>
public enum SpreadsheetExpressionMarker extends Enum<SpreadsheetExpressionMarker>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSED_CURLY_BRACKETEQUALS_SIGNOPEN_CURLY_BRACKET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetSymbol()static booleanisFormula(String src)StringtoString()static SpreadsheetExpressionMarkervalueOf(String name)Returns the enum constant of this type with the specified name.static SpreadsheetExpressionMarker[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN_CURLY_BRACKET
public static final SpreadsheetExpressionMarker OPEN_CURLY_BRACKET
-
CLOSED_CURLY_BRACKET
public static final SpreadsheetExpressionMarker CLOSED_CURLY_BRACKET
-
EQUALS_SIGN
public static final SpreadsheetExpressionMarker EQUALS_SIGN
-
-
Method Detail
-
values
public static SpreadsheetExpressionMarker[] 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 (SpreadsheetExpressionMarker c : SpreadsheetExpressionMarker.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpreadsheetExpressionMarker valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
isFormula
public static boolean isFormula(String src)
-
toString
public String toString()
- Overrides:
toStringin classEnum<SpreadsheetExpressionMarker>
-
getSymbol
public String getSymbol()
-
-