public void up(int fromIndex, int toIndex) { while (fromIndex > toIndex) move(fromIndex--, -1); }
public void down(int fromIndex, int toIndex) { while (fromIndex < toIndex) move(fromIndex++, +1); }