Lines Matching defs:collection
401 * Creates a {@code Spliterator} using the given collection's
407 * the <em>fail-fast</em> properties of the collection's iterator, and
411 * @param c The collection
416 * @throws NullPointerException if the given collection is {@code null}
1694 private final Collection<? extends T> collection; // null OK
1702 * collection's {@link java.util.Collection#iterator()) for traversal,
1706 * @param c the collection
1710 public IteratorSpliterator(Collection<? extends T> collection, int characteristics) {
1711 this.collection = collection;
1729 this.collection = null;
1747 this.collection = null;
1771 i = it = collection.iterator();
1772 s = est = (long) collection.size();
1798 i = it = collection.iterator();
1799 est = (long)collection.size();
1808 it = collection.iterator();
1809 est = (long) collection.size();
1821 it = collection.iterator();
1822 return est = (long)collection.size();