Double Greater Than Sign (>>) in Java?

java

Solution

This is the bit shift operator. Documentation

The signed left shift operator "<<" shifts a bit pattern to the left, and the signed right shift operator ">>" shifts a bit pattern to the right. The bit pattern is given by the left-hand operand, and the number of positions to shift by the right-hand operand. The unsigned right shift operator ">>>" shifts a zero into the leftmost position, while the leftmost position after ">>" depends on sign extension.

Problem

What does the `>>` sign mean in Java? I had never seen it used before but came across it today. I tried searching for it on Google, but didn't find anything useful.

Original source

Related problems