Most of the Java operators are familiar from "C". The only ones that may look strange are the ">>>" and ">>>=" operators. These are identical to ">>" and ">>=" apart from the handling of sign bits.

">>" will preserve the sign after shifting (so positive numbers get shifted right with 0 as the MSB, and negative numbers with 1 as the MSB).

">>>" will always result with 0 in the MSB.