@Test public void testAllRawDataCodings() { for (int i = 0; i < 256; i++) { byte expected = (byte) (0xff & i); RawDataCoding dataCoding = new RawDataCoding(expected); assertEquals(dataCoding.toByte(), expected); assertEquals(dataCoding, new RawDataCoding(expected)); } }
public byte toByte() { return value; }
RawDataCoding implements DataCoding { public byte toByte() { return value; } }
RawDataCoding implements DataCoding { public byte toByte() { return value; } RawDataCoding(byte value); }
RawDataCoding implements DataCoding { public byte toByte() { return value; } RawDataCoding(byte value); byte toByte(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
RawDataCoding implements DataCoding { public byte toByte() { return value; } RawDataCoding(byte value); byte toByte(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }