x ^= y
: is the short hand operator for x = x ^ y
.
^
: is the binary exclusive-or operator XOR.
y >>> x
: is the binary shift operator which shifts all bits of y x-bits to the right while filling in 0-bits to the left. This means the sign will not be preserved if the initial value was a negative number.