bitwise op most significant bit in java