Urbi SDK Remote for Java  2.7.5
UCallbackAction.java
00001 /* ----------------------------------------------------------------------------
00002  * This file was automatically generated by SWIG (http://www.swig.org).
00003  * Version 2.0.4
00004  *
00005  * Do not make changes to this file unless you know what you are doing--modify
00006  * the SWIG interface file instead.
00007  * ----------------------------------------------------------------------------- */
00008 
00009 package urbi;
00010 
00011 public enum UCallbackAction {
00012   URBI_CONTINUE(0),
00013   URBI_REMOVE;
00014 
00015   public final int swigValue() {
00016     return swigValue;
00017   }
00018 
00019   public static UCallbackAction swigToEnum(int swigValue) {
00020     UCallbackAction[] swigValues = UCallbackAction.class.getEnumConstants();
00021     if (swigValue < swigValues.length && swigValue >= 0 && swigValues[swigValue].swigValue == swigValue)
00022       return swigValues[swigValue];
00023     for (UCallbackAction swigEnum : swigValues)
00024       if (swigEnum.swigValue == swigValue)
00025         return swigEnum;
00026     throw new IllegalArgumentException("No enum " + UCallbackAction.class + " with value " + swigValue);
00027   }
00028 
00029   @SuppressWarnings("unused")
00030   private UCallbackAction() {
00031     this.swigValue = SwigNext.next++;
00032   }
00033 
00034   @SuppressWarnings("unused")
00035   private UCallbackAction(int swigValue) {
00036     this.swigValue = swigValue;
00037     SwigNext.next = swigValue+1;
00038   }
00039 
00040   @SuppressWarnings("unused")
00041   private UCallbackAction(UCallbackAction swigEnum) {
00042     this.swigValue = swigEnum.swigValue;
00043     SwigNext.next = this.swigValue+1;
00044   }
00045 
00046   private final int swigValue;
00047 
00048   private static class SwigNext {
00049     private static int next = 0;
00050   }
00051 }
00052