Lines Matching refs:size

172      *         {@code toIndex} is greater than the array size
234 * {@code toIndex} is greater than the array size
300 * {@code toIndex} is greater than the array size
366 * {@code toIndex} is greater than the array size
403 * reporting its {@link java.util.Collection#size()} as its initial size.
426 * as the source of elements, and with a given initially reported size.
436 * size is not equal to the actual number of elements in the source.
440 * @param size The number of elements in the source, to be reported as
449 long size,
451 return new IteratorSpliterator<>(Objects.requireNonNull(iterator), size,
457 * as the source of elements, with no initial size estimate.
484 * initially reported size.
494 * size is not equal to the actual number of elements in the source.
497 * @param size The number of elements in the source, to be reported as
506 long size,
509 size, characteristics);
515 * size estimate.
541 * given initially reported size.
551 * size is not equal to the actual number of elements in the source.
554 * @param size The number of elements in the source, to be reported as
563 long size,
566 size, characteristics);
572 * initial size estimate.
598 * given initially reported size.
608 * size is not equal to the actual number of elements in the source.
611 * @param size The number of elements in the source, to be reported as
620 long size,
623 size, characteristics);
629 * initial size estimate.
1257 static final int BATCH_UNIT = 1 << 10; // batch array size increment
1258 static final int MAX_BATCH = 1 << 25; // max batch array size;
1260 private long est; // size estimate
1261 private int batch; // batch size for splits
1264 * Creates a spliterator reporting the given estimated size and
1267 * @param est the estimated size of this spliterator if known, otherwise
1332 * This implementation returns the estimated size as reported when
1333 * created and, if the estimate size is known, decreases in size when
1383 private long est; // size estimate
1384 private int batch; // batch size for splits
1387 * Creates a spliterator reporting the given estimated size and
1390 * @param est the estimated size of this spliterator if known, otherwise
1442 * This implementation returns the estimated size as reported when
1443 * created and, if the estimate size is known, decreases in size when
1493 private long est; // size estimate
1494 private int batch; // batch size for splits
1497 * Creates a spliterator reporting the given estimated size and
1500 * @param est the estimated size of this spliterator if known, otherwise
1552 * This implementation returns the estimated size as reported when
1553 * created and, if the estimate size is known, decreases in size when
1603 private long est; // size estimate
1604 private int batch; // batch size for splits
1607 * Creates a spliterator reporting the given estimated size and
1610 * @param est the estimated size of this spliterator if known, otherwise
1662 * This implementation returns the estimated size as reported when
1663 * created and, if the estimate size is known, decreases in size when
1692 static final int BATCH_UNIT = 1 << 10; // batch array size increment
1693 static final int MAX_BATCH = 1 << 25; // max batch array size;
1697 private long est; // size estimate
1698 private int batch; // batch size for splits
1703 * and reporting its {@link java.util.Collection#size()) as its initial
1704 * size.
1720 * for traversal, and reporting the given initial size
1724 * @param size the number of elements in the source
1728 public IteratorSpliterator(Iterator<? extends T> iterator, long size, int characteristics) {
1731 this.est = size;
1739 * for traversal, and reporting the given initial size
1772 s = est = (long) collection.size();
1799 est = (long)collection.size();
1809 est = (long) collection.size();
1822 return est = (long)collection.size();
1848 private long est; // size estimate
1849 private int batch; // batch size for splits
1853 * for traversal, and reporting the given initial size
1857 * @param size the number of elements in the source
1861 public IntIteratorSpliterator(PrimitiveIterator.OfInt iterator, long size, int characteristics) {
1863 this.est = size;
1871 * source of unknown size, reporting the given
1942 private long est; // size estimate
1943 private int batch; // batch size for splits
1947 * for traversal, and reporting the given initial size
1951 * @param size the number of elements in the source
1955 public LongIteratorSpliterator(PrimitiveIterator.OfLong iterator, long size, int characteristics) {
1957 this.est = size;
1965 * source of unknown size, reporting the given
2036 private long est; // size estimate
2037 private int batch; // batch size for splits
2041 * for traversal, and reporting the given initial size
2045 * @param size the number of elements in the source
2049 public DoubleIteratorSpliterator(PrimitiveIterator.OfDouble iterator, long size, int characteristics) {
2051 this.est = size;
2059 * source of unknown size, reporting the given