public static void swap(char[] charArray1, char[] charArray2, int index) {
        XORSwap.swap(charArray1, index, charArray2, index);
    }
public static void swap ( char [ ] charArray1 , char [ ] charArray2 , int index ) { XORSwap . swap ( charArray1 , index , charArray2 , index ) ; }
Swap the elements of two char arrays at the same position

@param charArray1 one of the arrays that will have one of its values swapped.
@param charArray2 other array that will have one of its values swapped.
@param index index of the arrays that will have their values swapped.