26public final class ObjectiveElement {
34 public final static ObjectiveElement
Constraint =
new ObjectiveElement(
"Constraint");
44 public static ObjectiveElement
swigToEnum(
int swigValue) {
45 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
46 return swigValues[swigValue];
47 for (
int i = 0; i < swigValues.length; i++)
48 if (swigValues[i].swigValue == swigValue)
50 throw new IllegalArgumentException(
"No enum " + ObjectiveElement.class +
" with value " + swigValue);
54 this.swigName = swigName;
55 this.swigValue = swigNext++;
58 private ObjectiveElement(String swigName,
int swigValue) {
59 this.swigName = swigName;
60 this.swigValue = swigValue;
61 swigNext = swigValue+1;
64 private ObjectiveElement(String swigName, ObjectiveElement swigEnum) {
65 this.swigName = swigName;
66 this.swigValue = swigEnum.swigValue;
67 swigNext = this.swigValue+1;
71 private static int swigNext = 0;
72 private final int swigValue;
73 private final String swigName;