Lines Matching defs:by
7 * published by the Free Software Foundation. Oracle designates this
9 * by Oracle in the LICENSE file that accompanied this code.
124 public ArrayData shiftLeft(final int by) {
125 if (by >= length()) {
128 System.arraycopy(array, by, array, 0, array.length - by);
130 setLength(Math.max(0, length() - by));
135 public ArrayData shiftRight(final int by) {
136 final ArrayData newData = ensure(by + length() - 1);
138 newData.shiftRight(by);
141 System.arraycopy(array, 0, array, by, array.length - by);
325 //note that fastpush never creates spares arrays, there is nothing to gain by that - it will just use even more memory