Lines Matching refs:size
37 * <p>Beware that, unlike in most collections, the {@code size} method
1074 * Additionally, it is possible for the size to change during
1081 public int size() {
1087 break; // @see Collection.size()
1188 int size = 0;
1194 else if (size == a.length)
1195 a = Arrays.copyOf(a, 2 * size);
1197 a[size++] = s;
1204 if (size == 0)
1207 return Helpers.toString(a, size, charLength);
1214 int size = 0;
1220 else if (size == x.length)
1221 x = Arrays.copyOf(x, 2 * (size + 4));
1222 x[size++] = item;
1229 else if (a != null && size <= a.length) {
1231 System.arraycopy(x, 0, a, 0, size);
1232 if (size < a.length)
1233 a[size] = null;
1236 return (size == x.length) ? x : Arrays.copyOf(x, size);
1263 * the specified array and the size of this deque.
1412 static final int MAX_BATCH = 1 << 25; // max batch array size;
1415 int batch; // batch size for splits