InPlaceOperations<E> extension

Extension methods on List that do work in-place.

on

Methods

reverse() → void

Available on List<E>, provided by the InPlaceOperations extension

Reverses the List in-place.
rotateLeft(int shiftAmount, {int? start, int? end}) → void

Available on List<E>, provided by the InPlaceOperations extension

Rotates the List in-place in O(n) time and O(1) space.