public static void swap ( double [ ] doubleArray , int index1 , int index2 ) { TrivialSwap . swap ( doubleArray , index1 , doubleArray , index2 ) ; }
Swap two elements of a double array at the specified positions