protected static void swap ( final Swapper swapper , int a , int b , final int n ) { for ( int i = 0 ; i < n ; i ++ , a ++ , b ++ ) swapper . swap ( , b ) ; }
Swaps two sequences of elements using a provided swapper .