Converting coding challenge 'Self-avoiding walk backtracing' from p5.js to Processing (Java)

 path.add(spot = grid[rows >> 1][cols >> 1]);

rows >> 1

cols >> 1

btw what does this kind of expression mean?