Uses of Class
com.google.common.collect.FluentIterable
Packages that use FluentIterable
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of FluentIterable in com.google.common.collect
Methods 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 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 whoseIteratorcycles 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 ofFluentIterabledon't need to be converted toFluentIterablestatic <E extends @Nullable Object>
FluentIterable<E> FluentIterable.from(E[] elements) Returns a fluent iterable containingelementsin the specified order.static <E extends @Nullable Object>
FluentIterable<E> Returns a fluent iterable that wrapsiterable, oriterableitself if it is already aFluentIterable.final FluentIterable<E> FluentIterable.limit(int maxSize) Creates a fluent iterable with the firstsizeelements 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 firstnumberToSkipelements.final <T extends @Nullable Object>
FluentIterable<T> Returns a fluent iterable that appliesfunctionto each element of this fluent iterable.<T extends @Nullable Object>
FluentIterable<T> FluentIterable.transformAndConcat(Function<? super E, ? extends Iterable<? extends T>> function) Appliesfunctionto 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 extends @Nullable Object>
FluentIterable<E> FluentIterable.from(FluentIterable<E> iterable) Deprecated.instances ofFluentIterabledon't need to be converted toFluentIterable
Traverser.breadthFirst(N)instead, which has the same behavior.