get
Allows array-like access to the points where the index is rolled around, so that index -1
is the same as size-1
and also index size
is the same as index 0
etc.
This is particularly useful when you have an index, and want to find the next or previous. You can safely add or subtract without fear of IndexOutOfBoundsExceptions.