Home | History | Annotate | Download | only in util

Lines Matching refs:newArray

45             T[] newArray = ArrayUtils.newUnpaddedArray(
47 System.arraycopy(array, 0, newArray, 0, currentSize);
48 array = newArray;
61 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize));
62 System.arraycopy(array, 0, newArray, 0, currentSize);
63 array = newArray;
76 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize));
77 System.arraycopy(array, 0, newArray, 0, currentSize);
78 array = newArray;
91 boolean[] newArray = ArrayUtils.newUnpaddedBooleanArray(growSize(currentSize));
92 System.arraycopy(array, 0, newArray, 0, currentSize);
93 array = newArray;
120 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(),
122 System.arraycopy(array, 0, newArray, 0, index);
123 newArray[index] = element;
124 System.arraycopy(array, index, newArray, index + 1, array.length - index);
125 return newArray;
140 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize));
141 System.arraycopy(array, 0, newArray, 0, index);
142 newArray[index] = element;
143 System.arraycopy(array, index, newArray, index + 1, array.length - index);
144 return newArray;
159 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize));
160 System.arraycopy(array, 0, newArray, 0, index);
161 newArray[index] = element;
162 System.arraycopy(array, index, newArray, index + 1, array.length - index);
163 return newArray;
178 boolean[] newArray = ArrayUtils.newUnpaddedBooleanArray(growSize(currentSize));
179 System.arraycopy(array, 0, newArray, 0, index);
180 newArray[index] = element;
181 System.arraycopy(array, index, newArray, index + 1, array.length - index);
182 return newArray;