Enum BinaryObjExpression.Operator
- java.lang.Object
-
- java.lang.Enum<BinaryObjExpression.Operator>
-
- com.speedment.runtime.compute.expression.BinaryObjExpression.Operator
-
- All Implemented Interfaces:
Serializable,Comparable<BinaryObjExpression.Operator>
- Enclosing interface:
- BinaryObjExpression<T,FIRST extends Expression<T>,V>
public static enum BinaryObjExpression.Operator extends Enum<BinaryObjExpression.Operator>
Operator types that could be returned byBinaryObjExpression.operator().
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIVIDEThe result of the first operand divided by the second (division).MINUSThe result of the first operand minus the second (subtraction).MULTIPLYThe result of the first operand multiplied by the second (multiplication).PLUSThe result of the first operand added to the second (addition).POWThe result of the first operand raised to the power of the second.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BinaryObjExpression.OperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static BinaryObjExpression.Operator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POW
public static final BinaryObjExpression.Operator POW
The result of the first operand raised to the power of the second.
-
PLUS
public static final BinaryObjExpression.Operator PLUS
The result of the first operand added to the second (addition).
-
MINUS
public static final BinaryObjExpression.Operator MINUS
The result of the first operand minus the second (subtraction).
-
MULTIPLY
public static final BinaryObjExpression.Operator MULTIPLY
The result of the first operand multiplied by the second (multiplication).
-
DIVIDE
public static final BinaryObjExpression.Operator DIVIDE
The result of the first operand divided by the second (division).
-
-
Method Detail
-
values
public static BinaryObjExpression.Operator[] 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 (BinaryObjExpression.Operator c : BinaryObjExpression.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BinaryObjExpression.Operator 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
-
-