Uses of Class
com.google.common.collect.FluentIterable
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of FluentIterable in com.google.common.collect
Modifier 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 extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that combines several iterables.static <T extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that combines several iterables.static <T extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that combines two iterables.static <T extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that combines three iterables.static <T extends @Nullable Object>
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.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 extends @Nullable Object>
FluentIterable<E> FluentIterable.from
(FluentIterable<E> iterable) Deprecated.instances ofFluentIterable
don't need to be converted toFluentIterable
static <E extends @Nullable Object>
FluentIterable<E> FluentIterable.from
(E[] elements) Returns a fluent iterable containingelements
in the specified order.static <E extends @Nullable Object>
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 extends @Nullable Object>
FluentIterable<E> FluentIterable.of()
Returns a fluent iterable containing no elements.static <E extends @Nullable Object>
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 extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that appliesfunction
to each element of this fluent iterable.<T extends @Nullable Object>
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.Modifier and TypeMethodDescriptionstatic <E extends @Nullable Object>
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.