AirStatusCode.java 1.06 KB
package com.snapchat.soju.shared.android.air;

public enum AirStatusCode
{
  private final int a;
  
  static
  {
    DUPLICATE_REQUEST = new AirStatusCode("DUPLICATE_REQUEST", 1, 2001);
    BAD_REQUEST = new AirStatusCode("BAD_REQUEST", 2, 4000);
    UNAUTHORIZED_USER = new AirStatusCode("UNAUTHORIZED_USER", 3, 4001);
  }
  
  private AirStatusCode(int paramInt)
  {
    this.a = paramInt;
  }
  
  public static AirStatusCode fromValue(Integer paramInteger)
  {
    if (paramInteger == null) {
      return UNRECOGNIZED_VALUE;
    }
    AirStatusCode[] arrayOfAirStatusCode = values();
    int i = 0;
    while (i < arrayOfAirStatusCode.length)
    {
      if (arrayOfAirStatusCode[i].a == paramInteger.intValue()) {
        return arrayOfAirStatusCode[i];
      }
      i += 1;
    }
    return UNRECOGNIZED_VALUE;
  }
  
  public final int value()
  {
    return this.a;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/snapchat/soju/shared/android/air/AirStatusCode.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */