70 if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
71 return swigValues[swigValue];
72 for (
Status swigEnum : swigValues)
73 if (swigEnum.swigValue == swigValue)
75 throw new IllegalArgumentException(
"No enum " +
Status.class +
" with value " + swigValue);
78 @SuppressWarnings(
"unused")
80 this.swigValue = SwigNext.next++;
83 @SuppressWarnings(
"unused")
84 private Status(
int swigValue) {
85 this.swigValue = swigValue;
86 SwigNext.next = swigValue+1;
89 @SuppressWarnings(
"unused")
90 private Status(Status swigEnum) {
91 this.swigValue = swigEnum.swigValue;
92 SwigNext.next = this.swigValue+1;
95 private final int swigValue;
97 private static class SwigNext {
98 private static int next = 0;