Here you can find the source of shiftLeftByCopying(int[] table, int shift)
private static int[] shiftLeftByCopying(int[] table, int shift)
//package com.java2s; //License from project: Open Source License public class Main { private static int[] shiftLeftByCopying(int[] table, int shift) { int[] shiftedArray = new int[table.length]; System.arraycopy(table, shift, shiftedArray, 0, table.length - shift); System.arraycopy(table, 0, shiftedArray, table.length - shift, shift); return shiftedArray; }//from w ww .ja v a 2s . c om }