splayIndex(index)

Rotates the tree until the node at a given index floats to the top.

On collections

Usage

  • splayIndex(index)