question: public void swap ( int i , int j ) { x . assertTrue ( i < list . size ( ) ) ; x . assertTrue ( j < list . size ( ) ) ; list . set ( i , list . set ( j , list . get ( i ) ) ) ; }
target:  Swaps in place the elements at the specified positions in the specified list. (If the specified positions are equal, invoking this method leaves the list unchanged.)