Home | History | Annotate | Download | only in collect

Lines Matching defs:from

41  * chained fashion. A {@code FluentIterable} can be created from an {@code Iterable}, or from a set
59 * .from(database.getClientList())
75 // checks on the _original_ iterable when FluentIterable.from is used.
91 public static <E> FluentIterable<E> from(final Iterable<E> iterable) {
102 * Construct a fluent iterable from another fluent iterable. This is obviously never necessary,
103 * but is intended to help call out cases where one migration from {@code Iterable} to
110 public static <E> FluentIterable<E> from(FluentIterable<E> iterable) {
121 return from(Lists.newArrayList(elements));
163 return from(Iterables.cycle(iterable));
178 return from(Iterables.concat(iterable, other));
190 return from(Iterables.concat(iterable, Arrays.asList(elements)));
194 * Returns the elements from this fluent iterable that satisfy a predicate. The
199 return from(Iterables.filter(iterable, predicate));
203 * Returns the elements from this fluent iterable that are instances of class {@code type}.
210 return from(Iterables.filter(iterable, type));
248 return from(Iterables.transform(iterable, function));
264 return from(Iterables.concat(transform(function)));
341 return from(Iterables.skip(iterable, numberToSkip));
356 return from(Iterables.limit(iterable, size));
367 * Returns an {@code ImmutableList} containing all of the elements from this fluent iterable in
377 * Returns an {@code ImmutableList} containing all of the elements from this {@code
386 return Ordering.from(comparator).immutableSortedCopy(iterable);
390 * Returns an {@code ImmutableSet} containing all of the elements from this fluent iterable with
400 * Returns an {@code ImmutableSortedSet} containing all of the elements from this {@code
466 * Returns an array containing all of the elements from this fluent iterable in iteration order.
478 * Copies all the elements from this fluent iterable to {@code collection}. This is equivalent to
527 return FluentIterable.from(fromObject);