gurobi
Enum GRB.StringAttr
java.lang.Object
java.lang.Enum<GRB.StringAttr>
gurobi.GRB.StringAttr
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GRB.StringAttr>
- Enclosing class:
- GRB
public static enum GRB.StringAttr
- extends java.lang.Enum<GRB.StringAttr>
Method Summary |
static GRB.StringAttr |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GRB.StringAttr[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ModelName
public static final GRB.StringAttr ModelName
VarName
public static final GRB.StringAttr VarName
ConstrName
public static final GRB.StringAttr ConstrName
QCName
public static final GRB.StringAttr QCName
GenConstrName
public static final GRB.StringAttr GenConstrName
ObjNName
public static final GRB.StringAttr ObjNName
Server
public static final GRB.StringAttr Server
JobID
public static final GRB.StringAttr JobID
values
public static GRB.StringAttr[] 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 (GRB.StringAttr c : GRB.StringAttr.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GRB.StringAttr 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