public static IndicationType parseDataCoding(byte dataCoding) throws IllegalArgumentException { byte value = (byte)(dataCoding & MASK_INDICATION_TYPE); for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value + " for dataCoding " + dataCoding); } }
public static IndicationType parseDataCoding(byte dataCoding) throws IllegalArgumentException { byte value = (byte)(dataCoding & MASK_INDICATION_TYPE); for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value + " for dataCoding " + dataCoding); } }
public static IndicationType parseDataCoding(byte dataCoding) throws IllegalArgumentException { byte value = (byte)(dataCoding & MASK_INDICATION_TYPE); for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value + " for dataCoding " + dataCoding); } }
public static IndicationType valueOf(byte value) throws IllegalArgumentException { for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value); }
public static IndicationType valueOf(byte value) throws IllegalArgumentException { for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value); }
public static IndicationType valueOf(byte value) throws IllegalArgumentException { for (IndicationType val : values()) { if (val.value == value) return val; } throw new IllegalArgumentException("No enum const IndicationType with value " + value); }