swap abstract method

void swap(
  1. int current,
  2. int next
)

交换下标位置

Implementation

void swap(int current, int next);