public Object growArray(Object array, int size) { Class type = array.getClass().getComponentType(); Object grown = Array.newInstance(type, size); System.arraycopy(array, 0 , grown, 0 ,Math.min(Array.getLength(array), size)); return grown; } 上述代码含义解释争取的是: