Lines Matching defs:array
33 * emacs. The underlying storage is a java array of some type,
34 * which is known only by the subclass of this class. The array
39 * moving the array contents directly to accomodate the change.
61 array = allocateArray(initialLength);
67 * Allocate an array to store items of the type
73 * Get the length of the allocated array
78 * Access to the array. The actual type
79 * of the array is known only by the subclass.
82 return array;
102 * The array of items. The type is determined by the subclass.
104 private Object array;
107 * start of gap in the array
112 * end of gap in the array
126 * is not the location in the underlying storage array, but
143 System.arraycopy(addItems, rmSize, array, end, endSize);
146 System.arraycopy(addItems, addOffset, array, position, addSize);
197 // Expand the array if the gap is too small.
210 * resize the underlying storage array to the
215 System.arraycopy(array, 0, narray, 0, Math.min(nsize, getArrayLength()));
216 array = narray;
233 // Copy array items to new end of array.
234 System.arraycopy(array, oldGapEnd, array, newGapEnd, upperSize);
239 * Calculates a new size of the storage array depending on required
242 * @return the new size of the storage array
251 * moves the data in the array and updates the
268 System.arraycopy(array, oldGapEnd, array, oldGapStart, dg);
271 System.arraycopy(array, newGapStart, array, newGapEnd, -dg);