class DataWord implements Comparable<DataWord> {

    public void signExtend(byte k) {
        if (0 > k || k > 31) {
            throw new IndexOutOfBoundsException();
        }
        byte mask = this.sValue().testBit((k * 8) + 7) ? (byte) 0xff : 0;
        for (int i = 31; i > k; i--) {
            this.data[31 - i] = mask;
        }
    }

    public  DataWord();
    public  DataWord(int num);
    public  DataWord(long num);
    private  DataWord(ByteBuffer buffer);
    @JsonCreator public  DataWord(String data);
    public  DataWord(ByteArrayWrapper wrappedData);
    public  DataWord(byte[] data);

}