java.io.Serializable
, java.lang.Comparable<ConsType>
public enum ConsType extends java.lang.Enum<ConsType>
Enum Constant | Description |
---|---|
BIN |
To define binary variables
|
EQ |
To define a constraint of the type =
|
GE |
To define a constraint of the type > =
|
INT |
To define integer variables
|
LE |
To define a constraint of the type < =
|
LOWER |
For defining Lower bounds
|
SEMICONT |
To define semicontinuous variables
|
UPPER |
For defining Upper bounds
|
Modifier and Type | Method | Description |
---|---|---|
static ConsType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static ConsType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsType EQ
public static final ConsType LE
public static final ConsType GE
public static final ConsType INT
public static final ConsType BIN
public static final ConsType UPPER
public static final ConsType LOWER
public static final ConsType SEMICONT
public static ConsType[] values()
for (ConsType c : ConsType.values()) System.out.println(c);
public static ConsType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null