@Test public void testDataCodings1110() { for (byte dataCodingByte = (byte) 0xd0; dataCodingByte < (byte) 0xe0; dataCodingByte++) { DataCoding dataCoding = factory.newInstance(dataCodingByte); assertEquals(dataCoding.getClass(), MessageWaitingDataCoding.class); } }
public DataCoding newInstance(byte dataCoding) { IndicationSense indicationSense = IndicationSense.parseDataCoding(dataCoding); IndicationType indicationType = IndicationType.parseDataCoding(dataCoding); return new MessageWaitingDataCoding(indicationSense, indicationType, Alphabet.ALPHA_UCS2); }
DataCodingFactory1110 extends AbstractDataCodingFactory { public DataCoding newInstance(byte dataCoding) { IndicationSense indicationSense = IndicationSense.parseDataCoding(dataCoding); IndicationType indicationType = IndicationType.parseDataCoding(dataCoding); return new MessageWaitingDataCoding(indicationSense, indicationType, Alphabet.ALPHA_UCS2); } }
DataCodingFactory1110 extends AbstractDataCodingFactory { public DataCoding newInstance(byte dataCoding) { IndicationSense indicationSense = IndicationSense.parseDataCoding(dataCoding); IndicationType indicationType = IndicationType.parseDataCoding(dataCoding); return new MessageWaitingDataCoding(indicationSense, indicationType, Alphabet.ALPHA_UCS2); } DataCodingFactory1110(); }
DataCodingFactory1110 extends AbstractDataCodingFactory { public DataCoding newInstance(byte dataCoding) { IndicationSense indicationSense = IndicationSense.parseDataCoding(dataCoding); IndicationType indicationType = IndicationType.parseDataCoding(dataCoding); return new MessageWaitingDataCoding(indicationSense, indicationType, Alphabet.ALPHA_UCS2); } DataCodingFactory1110(); DataCoding newInstance(byte dataCoding); }
DataCodingFactory1110 extends AbstractDataCodingFactory { public DataCoding newInstance(byte dataCoding) { IndicationSense indicationSense = IndicationSense.parseDataCoding(dataCoding); IndicationType indicationType = IndicationType.parseDataCoding(dataCoding); return new MessageWaitingDataCoding(indicationSense, indicationType, Alphabet.ALPHA_UCS2); } DataCodingFactory1110(); DataCoding newInstance(byte dataCoding); static final byte MASK; static final byte GROUP; }