Lines Matching refs:size
51 * <p>Beware that, unlike in most collections, the {@code size} method
402 public int size() {
408 break; // @see Collection.size()
536 int size = 0;
542 else if (size == a.length)
543 a = Arrays.copyOf(a, 2 * size);
545 a[size++] = s;
552 if (size == 0)
555 return Helpers.toString(a, size, charLength);
562 int size = 0;
568 else if (size == x.length)
569 x = Arrays.copyOf(x, 2 * (size + 4));
570 x[size++] = item;
577 else if (a != null && size <= a.length) {
579 System.arraycopy(x, 0, a, 0, size);
580 if (size < a.length)
581 a[size] = null;
584 return (size == x.length) ? x : Arrays.copyOf(x, size);
610 * runtime type of the specified array and the size of this queue.
787 static final int MAX_BATCH = 1 << 25; // max batch array size;
790 int batch; // batch size for splits