Home | History | Annotate | Download | only in util

Lines Matching defs: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;
106 float[] newArray = ArrayUtils.newUnpaddedFloatArray(growSize(currentSize));
107 System.arraycopy(array, 0, newArray, 0, currentSize);
108 array = newArray;
135 T[] newArray = ArrayUtils.newUnpaddedArray((Class<T>)array.getClass().getComponentType(),
137 System.arraycopy(array, 0, newArray, 0, index);
138 newArray[index] = element;
139 System.arraycopy(array, index, newArray, index + 1, array.length - index);
140 return newArray;
155 int[] newArray = ArrayUtils.newUnpaddedIntArray(growSize(currentSize));
156 System.arraycopy(array, 0, newArray, 0, index);
157 newArray[index] = element;
158 System.arraycopy(array, index, newArray, index + 1, array.length - index);
159 return newArray;
174 long[] newArray = ArrayUtils.newUnpaddedLongArray(growSize(currentSize));
175 System.arraycopy(array, 0, newArray, 0, index);
176 newArray[index] = element;
177 System.arraycopy(array, index, newArray, index + 1, array.length - index);
178 return newArray;
193 boolean[] newArray = ArrayUtils.newUnpaddedBooleanArray(growSize(currentSize));
194 System.arraycopy(array, 0, newArray, 0, index);
195 newArray[index] = element;
196 System.arraycopy(array, index, newArray, index + 1, array.length - index);
197 return newArray;