Enum OpType
- java.lang.Object
-
- java.lang.Enum<OpType>
-
- kz.greetgo.script.model.expr.enums.OpType
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static OpType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Concat
public static final OpType Concat
-
Plus
public static final OpType Plus
-
Minus
public static final OpType Minus
-
Mul
public static final OpType Mul
-
Div
public static final OpType Div
-
Or
public static final OpType Or
-
And
public static final OpType And
-
Xor
public static final OpType Xor
-
Less
public static final OpType Less
-
LessEq
public static final OpType LessEq
-
More
public static final OpType More
-
MoreEq
public static final OpType MoreEq
-
Eq
public static final OpType Eq
-
NotEq
public static final OpType NotEq
-
-
Method Detail
-
values
public static OpType[] 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 (OpType c : OpType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpType 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
-
-