BinaryExpression.Operator
- java.lang.Object
-
- java.lang.Enum<BinaryExpression.Operator>
-
- com.dashoptimization.objects.BinaryExpression.Operator
-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable<BinaryExpression.Operator>
- Enclosing class:
- BinaryExpression
public static enum BinaryExpression.Operator extends java.lang.Enum<BinaryExpression.Operator> implements java.lang.Comparable<BinaryExpression.Operator>
Enumeration for binary expression operators.- Since:
- 43.00
-
-
Field Summary
Modifier and Type Field Description int
value
-
Method Summary
Modifier and Type Method Description static BinaryExpression.Operator
fromValue(int value)
static BinaryExpression.Operator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static BinaryExpression.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Exponent
public static final BinaryExpression.Operator Exponent
Exponentiation- Since:
- 43.00
-
Multiply
public static final BinaryExpression.Operator Multiply
Multiplication.- Since:
- 43.00
-
Divide
public static final BinaryExpression.Operator Divide
Division.- Since:
- 43.00
-
Plus
public static final BinaryExpression.Operator Plus
Addition- Since:
- 43.00
-
Minus
public static final BinaryExpression.Operator Minus
Subtraction- Since:
- 43.00
-
-
Method Detail
-
values
public static BinaryExpression.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 (BinaryExpression.Operator c : BinaryExpression.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 BinaryExpression.Operator 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 name -
java.lang.NullPointerException
- if the argument is null
-
fromValue
public static BinaryExpression.Operator fromValue(int value)
-
-
© 2001-2025 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.