Lines Matching defs:Iterables
51 * <p><i>Performance notes:</i> Unless otherwise noted, all of the iterables
60 public final class Iterables {
61 private Iterables() {}
241 * Determines whether two iterables contain equal elements in the same order.
367 * {@code Iterables.concat(Collections.nCopies(n, iterable))}
389 * as {@code Iterables.cycle(Lists.newArrayList(elements))}. The iterator's
398 * {@code Iterables.concat(Collections.nCopies(n, Arrays.asList(elements)))}
405 * Combines two iterables into a single iterable. The returned iterable has an
421 * Combines three iterables into a single iterable. The returned iterable has
439 * Combines four iterables into a single iterable. The returned iterable has
460 iterables into a single iterable. The returned iterable
467 * @throws NullPointerException if any of the provided iterables is null
474 * Combines multiple iterables into a single iterable. The returned iterable
495 * Returns an iterator over the iterators of the given iterables.
498 Iterable<? extends Iterable<? extends T>> iterables) {
500 iterables.iterator();
680 * {@code predicate.apply(Iterables.get(iterable, i))} returns {@code true},
1013 // Methods only in Iterables, not in Iterators
1020 * for (String str : Iterables.reverse(mylist)) {
1088 return Iterables.toString(this);
1094 * {@code iterables}. Equivalent entries will not be de-duplicated.
1096 * <p>Callers must ensure that the source {@code iterables} are in
1099 * <p>For any equivalent elements across all {@code iterables}, it is
1106 final Iterable<? extends Iterable<? extends T>> iterables,
1108 checkNotNull(iterables, "iterables");
1114 Iterables.transform(iterables, Iterables.<T>toIterator()),