Here you can find the source of shiftLeft(Object[] object)
public static Object[] shiftLeft(Object[] object)
//package com.java2s; //License from project: Apache License public class Main { public static Object[] shiftLeft(Object[] object) { if (object.length == 0) { return new Object[0]; }//from www . ja v a 2 s . c om Object ret[] = new Object[object.length - 1]; for (int i = 0; i < ret.length; i++) { ret[i] = object[i + 1]; } return ret; } }