code: public static void swap(short[] shortArray1, short[] shortArray2, int index) {
          XORSwap.swap(shortArray1, index, shortArray2, index);
      }
docs: Swap the elements of short long arrays at the same position
  
  @param shortArray1 one of the arrays that will have one of its values swapped.
  @param shortArray2 other array that will have one of its values swapped.
  @param index index of the arrays that will have their values swapped.