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