32 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
33 return swigValues[swigValue];
35 if (swigEnum.swigValue == swigValue)
37 throw new IllegalArgumentException(
"No enum " +
SolveStatus.class +
" with value " + swigValue);
40 @SuppressWarnings(
"unused")
42 this.swigValue = SwigNext.next++;
45 @SuppressWarnings(
"unused")
46 private SolveStatus(
int swigValue) {
47 this.swigValue = swigValue;
48 SwigNext.next = swigValue+1;
51 @SuppressWarnings(
"unused")
52 private SolveStatus(SolveStatus swigEnum) {
53 this.swigValue = swigEnum.swigValue;
54 SwigNext.next = this.swigValue+1;
57 private final int swigValue;
59 private static class SwigNext {
60 private static int next = 0;