Rotating lists in linear time and constant space (Java) (The next iteration.)

I have this small utility method for rotating java.util.Lists in linear time, constant space:

package net.coderodde.util;

import java.util.Arrays;
import java.util.Collections;
import static java.util.Collections.swap;
import java.util.List;
import java.util.Objects;
import java.util.Scanner;

/**
 * This class contains a static method for rotating lists in linear time and
 * constant space.
 * 
 * @author Rodion "rodde" Efremov
 * @version 1.6 (Oct 6, 2017)
 */
public final class ListReversal {

    private ListReversal() {}

    /**
     * Performs the list rotation.
     * 
     * @param &lt;T&gt;           the list element type.
     * @param list          the list whose content to rotate.
     * @param rotationCount the number of steps to rotate to the right. If
     *                      negative, rotates to the left.
     */
    public static &lt;T&gt; void rotate(List&lt;T&gt; list, int rotationCount) {
        Objects.requireNonNull(list, "The input list is null.");

        if (rotationCount &lt; 0) {
            rotateLeft(list, -rotationCount);
        } else if (rotationCount &gt; 0) {
            rotateRight(list, rotationCount);
        }
    }

    private static &lt;T&gt; void rotateLeft(List&lt;T&gt; list, int rotationCount) {
        Collections.&lt;T&gt;reverse(list);
        rotationCount %= list.size();
        reverse(list, list.size() - rotationCount, list.size());
        reverse(list, 0, list.size() - rotationCount);
    }

    private static &lt;T&gt; void rotateRight(List&lt;T&gt; list, int rotationCount) {
        Collections.&lt;T&gt;reverse(list);
        rotationCount %= list.size();
        reverse(list, 0, rotationCount);
        reverse(list, rotationCount, list.size());
    }

    private static &lt;T&gt; void reverse(List&lt;T&gt; list, int fromIndex, int toIndex) {
        for (int i = fromIndex, j = toIndex - 1; i &lt; j; ++i, --j) {
            swap(list, i, j);
        }
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        List&lt;Integer&gt; list = Arrays.asList(1, 2, 3, 4, 5, 6);
        System.out.println(list);

        while (true) {
            int rotationCount = scanner.nextInt();
            rotate(list, rotationCount);
            System.out.println(list);
        }
    }
}


I would like to hear any comments regarding the above.
The time complexity of the rotate method is O(N^2) if the list doesn't support random access because each call to swap takes O(N) time. One can fix it by using two ListIterators (one going forward and one going backwards) to reverse a part of the list.
There's no need to create separate rotateLeft and rotateRight methods. You can always take the shift modulo the size of the list (in mathematical sense, without negative results, not in a sense of the operator %) instead.