Enum JExprMath.Op
- java.lang.Object
-
- java.lang.Enum<JExprMath.Op>
-
- com.inductiveautomation.snap.javatree.JExprMath.Op
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JExprMath.Op>
- Enclosing class:
- JExprMath
public static enum JExprMath.Op extends java.lang.Enum<JExprMath.Op>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Add
And
Assignment
BitAnd
BitComp
BitOr
BitXOr
Conditional
Divide
Equal
GreaterThan
GreaterThanOrEqual
InstanceOf
LessThan
LessThanOrEqual
Mod
Multiply
Negate
Not
NotEqual
Or
PostDecrement
PostIncrement
PreDecrement
PreIncrement
ShiftLeft
ShiftRight
ShiftRightUnsigned
Subtract
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JExprMath.Op
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JExprMath.Op[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Add
public static final JExprMath.Op Add
-
Subtract
public static final JExprMath.Op Subtract
-
Multiply
public static final JExprMath.Op Multiply
-
Divide
public static final JExprMath.Op Divide
-
Mod
public static final JExprMath.Op Mod
-
Equal
public static final JExprMath.Op Equal
-
NotEqual
public static final JExprMath.Op NotEqual
-
LessThan
public static final JExprMath.Op LessThan
-
GreaterThan
public static final JExprMath.Op GreaterThan
-
LessThanOrEqual
public static final JExprMath.Op LessThanOrEqual
-
GreaterThanOrEqual
public static final JExprMath.Op GreaterThanOrEqual
-
Or
public static final JExprMath.Op Or
-
And
public static final JExprMath.Op And
-
Not
public static final JExprMath.Op Not
-
BitOr
public static final JExprMath.Op BitOr
-
BitXOr
public static final JExprMath.Op BitXOr
-
BitAnd
public static final JExprMath.Op BitAnd
-
Conditional
public static final JExprMath.Op Conditional
-
Assignment
public static final JExprMath.Op Assignment
-
InstanceOf
public static final JExprMath.Op InstanceOf
-
ShiftLeft
public static final JExprMath.Op ShiftLeft
-
ShiftRight
public static final JExprMath.Op ShiftRight
-
ShiftRightUnsigned
public static final JExprMath.Op ShiftRightUnsigned
-
PreIncrement
public static final JExprMath.Op PreIncrement
-
PreDecrement
public static final JExprMath.Op PreDecrement
-
Negate
public static final JExprMath.Op Negate
-
BitComp
public static final JExprMath.Op BitComp
-
PostIncrement
public static final JExprMath.Op PostIncrement
-
PostDecrement
public static final JExprMath.Op PostDecrement
-
-
Method Detail
-
values
public static JExprMath.Op[] 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 (JExprMath.Op c : JExprMath.Op.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JExprMath.Op 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
-
-