摘要: System.arraycopy --全面解释(就是那么有爱心) 1 private void resize() { 2 3 int[] arrayNew = new int[array.length*2] 4 //把以前的数组复制到新的数组 5 System.arraycopy(array,0,a 阅读全文
posted @ 2020-06-26 11:42 小树木 阅读(2973) 评论(0) 推荐(0)