@Test
public void arrayShuffle() throws Exception {

    int n = 200000;
    int[] array = new int[n];
    for (int i = 0; i < array.length; i++) {
        array[i] = i + 1;
    }
    long start = System.currentTimeMillis();
    DataUtil.shuffleSwap(array);
    long interval = System.currentTimeMillis() - start;
    //n=200000, time cost 10ms
    logger.info("array shufflePump finished, time cost is: {}ms, result is as follows", interval);
    for (int i = 0; i < array.length; i++) {
        logger.info("index: {}, element: {}", i, array[i]);
    }
}