Home | History | Annotate | Download | only in collect

Lines Matching refs:Iterators

46  * {@link Iterator}-based method in the {@link Iterators} class.
62 return Iterators.unmodifiableIterator(iterable.iterator());
77 : Iterators.size(iterable.iterator());
96 return Iterators.contains(iterable.iterator(), element);
104 * collection, and {@link Iterators#removeAll} otherwise.
114 : Iterators.removeAll(removeFrom.iterator(), elementsToRemove);
122 * collection, and {@link Iterators#retainAll} otherwise.
132 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
154 return Iterators.removeIf(removeFrom.iterator(), predicate);
193 return Iterators.elementsEqual(iterable1.iterator(), iterable2.iterator());
201 return Iterators.toString(iterable.iterator());
212 return Iterators.getOnlyElement(iterable.iterator());
224 return Iterators.getOnlyElement(iterable.iterator(), defaultValue);
258 return Iterators.addAll(addTo, elementsToAdd.iterator());
274 return Iterators.frequency(iterable.iterator(), element);
278 * Returns an iterable whose iterators cycle indefinitely over the elements of
298 return Iterators.cycle(iterable);
307 * Returns an iterable whose iterators cycle indefinitely over the provided
331 * in {@code b}. The source iterators are not polled until necessary.
348 * iterators are not polled until necessary.
366 * the elements in {@code d}. The source iterators are not polled until
386 * {@code inputs}. The input iterators are not polled until necessary.
400 * {@code inputs}. The input iterators are not polled until necessary.
405 * iterators are null.
428 final Iterable<Iterator<? extends T>> iterators
432 return Iterators.concat(iterators.iterator());
444 * <p>Iterators returned by the returned iterable do not support the {@link
463 return Iterators.partition(iterable.iterator(), size);
475 * <p>Iterators returned by the returned iterable do not support the {@link
491 return Iterators.paddedPartition(iterable.iterator(), size);
506 return Iterators.filter(unfiltered.iterator(), predicate);
529 return Iterators.filter(unfiltered.iterator(), type);
540 return Iterators.any(iterable.iterator(), predicate);
549 return Iterators.all(iterable.iterator(), predicate);
561 return Iterators.find(iterable.iterator(), predicate);
577 return Iterators.indexOf(iterable.iterator(), predicate);
594 return Iterators.transform(fromIterable.iterator(), function);
624 return Iterators.get(iterable.iterator(), position);
649 return Iterators.getLast(iterable.iterator());
654 * {@link Iterator} through {@link Iterators#consumingIterator(Iterator)}.
658 * through {@link Iterators#consumingIterator(Iterator)}
660 * @see Iterators#consumingIterator(Iterator)
667 return Iterators.consumingIterator(iterable.iterator());
672 // Methods only in Iterables, not in Iterators
683 * There is no corresponding method in {@link Iterators}, since {@link