Module org.chocosolver
Enum ReExpression.Operator
- java.lang.Object
-
- java.lang.Enum<ReExpression.Operator>
-
- org.chocosolver.solver.expression.discrete.relational.ReExpression.Operator
-
- All Implemented Interfaces:
Serializable
,Comparable<ReExpression.Operator>
- Enclosing interface:
- ReExpression
public static enum ReExpression.Operator extends Enum<ReExpression.Operator>
List of available operator for relational expression
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ReExpression.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReExpression.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LT
public static final ReExpression.Operator LT
less than
-
LE
public static final ReExpression.Operator LE
less than or equal to
-
GE
public static final ReExpression.Operator GE
greater than
-
GT
public static final ReExpression.Operator GT
greater than or equal to
-
NE
public static final ReExpression.Operator NE
not equal to
-
EQ
public static final ReExpression.Operator EQ
equal to
-
-
Method Detail
-
values
public static ReExpression.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 (ReExpression.Operator c : ReExpression.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 ReExpression.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
-
-