private static long writeCode5(long data, int x, int y, long code){
        long shift =  (4 * y + x) * 3;
        long mask = 0x7;
        code = (code & mask) << shift;
        mask <<= shift;
        mask = ~mask;
        data &= mask;
        data |= code; // write new code
        return data;
    }
A private constructor to inhibit instantiation of this class.
jme3-core/src/plugins/java/com/jme3/texture/plugins/DXTFlipper.java