Bitwise and Bit Shift Operators
~ Unary bitwise complement
<< Signed left shift
>> Signed right shift
>>> Unsigned right shift
& Bitwise AND
^ Bitwise exclusive OR
| Bitwise inclusive OR
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/opsummary.html
Logical Bitwise Operations bit 1 | bit 2 | OR ( | ) | AND ( & )
| XOR ( ^ )
—|—|—|—|—
0 | 0 | 0 | 0 | 0
1 | 0 | 1 | 0 | 1
0 | 1 | 1 | 0 | 1
1 | 1 | 1 | 1 | 0