Interface Swapper

    • Method Detail

      • swap

        void swap​(int a,
                  int b)
        Swaps the data at the given positions.
        Parameters:
        a - the first position to swap.
        b - the second position to swap.