Uses of Class
com.google.common.collect.FluentIterable
Packages that use FluentIterable
Package
Description
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
-
Uses of FluentIterable in com.google.common.collect
Subclasses of FluentIterable in com.google.common.collectMethods in com.google.common.collect that return FluentIterableModifier and TypeMethodDescriptionfinal FluentIterable<E>
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed byelements
.final FluentIterable<E>
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by those ofother
.final FluentIterable<T>
TreeTraverser.breadthFirstTraversal
(T root) Deprecated.static <T> FluentIterable<T>
Returns a fluent iterable that combines several iterables.static <T> FluentIterable<T>
Returns a fluent iterable that combines several iterables.static <T> FluentIterable<T>
Returns a fluent iterable that combines two iterables.static <T> FluentIterable<T>
Returns a fluent iterable that combines three iterables.static <T> FluentIterable<T>
FluentIterable.concat
(Iterable<? extends T> a, Iterable<? extends T> b, Iterable<? extends T> c, Iterable<? extends T> d) Returns a fluent iterable that combines four iterables.private static <T> FluentIterable<T>
FluentIterable.concatNoDefensiveCopy
(Iterable<? extends T>... inputs) Concatenates a varargs array of iterables without making a defensive copy of the array.final FluentIterable<E>
FluentIterable.cycle()
Returns a fluent iterable whoseIterator
cycles indefinitely over the elements of this fluent iterable.final FluentIterable<E>
Returns the elements from this fluent iterable that satisfy a predicate.final <T> FluentIterable<T>
Returns the elements from this fluent iterable that are instances of classtype
.static <E> FluentIterable<E>
FluentIterable.from
(FluentIterable<E> iterable) Deprecated.instances ofFluentIterable
don't need to be converted toFluentIterable
static <E> FluentIterable<E>
FluentIterable.from
(E[] elements) Returns a fluent iterable containingelements
in the specified order.static <E> FluentIterable<E>
Returns a fluent iterable that wrapsiterable
, oriterable
itself if it is already aFluentIterable
.final FluentIterable<E>
FluentIterable.limit
(int maxSize) Creates a fluent iterable with the firstsize
elements of this fluent iterable.static <E> FluentIterable<E>
FluentIterable.of()
Returns a fluent iterable containing no elements.static <E> FluentIterable<E>
FluentIterable.of
(E element, E... elements) Returns a fluent iterable containing the specified elements in order.final FluentIterable<T>
TreeTraverser.postOrderTraversal
(T root) Deprecated.UseTraverser.depthFirstPostOrder(N)
instead, which has the same behavior.final FluentIterable<T>
TreeTraverser.preOrderTraversal
(T root) Deprecated.UseTraverser.depthFirstPreOrder(N)
instead, which has the same behavior.final FluentIterable<E>
FluentIterable.skip
(int numberToSkip) Returns a view of this fluent iterable that skips its firstnumberToSkip
elements.final <T> FluentIterable<T>
Returns a fluent iterable that appliesfunction
to each element of this fluent iterable.<T> FluentIterable<T>
FluentIterable.transformAndConcat
(Function<? super E, ? extends Iterable<? extends T>> function) Appliesfunction
to each element of this fluent iterable and returns a fluent iterable with the concatenated combination of results.Methods in com.google.common.collect with parameters of type FluentIterableModifier and TypeMethodDescriptionstatic <E> FluentIterable<E>
FluentIterable.from
(FluentIterable<E> iterable) Deprecated.instances ofFluentIterable
don't need to be converted toFluentIterable
Traverser.breadthFirst(N)
instead, which has the same behavior.