Java com.google.common.collect FluentIterable fields, constructors, methods, implement or subclass

Example usage for Java com.google.common.collect FluentIterable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.common.collect FluentIterable.

The text is from its open source code.

Subclass

com.google.common.collect.FluentIterable has subclasses.
Click this link to see all its subclasses.

Constructor

FluentIterable()
Constructor for use by subclasses.

Method

booleanallMatch(Predicate predicate)
Returns true if every element in this fluent iterable satisfies the predicate.
booleananyMatch(Predicate predicate)
Returns true if any element in this fluent iterable satisfies the predicate.
FluentIterableappend(Iterable other)
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by those of other .
FluentIterableappend(E... elements)
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable, followed by elements .
booleancontains(@Nullable Object target)
Returns true if this fluent iterable contains any object for which equals(target) is true.
FluentIterablefilter(Predicate predicate)
Returns the elements from this fluent iterable that satisfy a predicate.
FluentIterablefilter(Class type)
Returns the elements from this fluent iterable that are instances of class type .
Optionalfirst()
Returns an Optional containing the first element in this fluent iterable.
OptionalfirstMatch(Predicate predicate)
Returns an Optional containing the first element in this fluent iterable that satisfies the given predicate, if such an element exists.
FluentIterablefrom(final Iterable iterable)
Returns a fluent iterable that wraps iterable , or iterable itself if it is already a FluentIterable .
FluentIterablefrom(E[] elements)
Returns a fluent iterable containing elements in the specified order.
FluentIterablefrom(FluentIterable iterable)
Construct a fluent iterable from another fluent iterable.
Eget(int position)
Returns the element at the specified position in this fluent iterable.
ImmutableListMultimapindex(Function keyFunction)
Creates an index ImmutableListMultimap that contains the results of applying a specified function to each item in this FluentIterable of values.
booleanisEmpty()
Determines whether this fluent iterable is empty.
Iteratoriterator()
Returns an iterator over elements of type T .
FluentIterablelimit(int maxSize)
Creates a fluent iterable with the first size elements of this fluent iterable.
FluentIterableof(E[] elements)
Returns a fluent iterable containing elements in the specified order.
intsize()
Returns the number of elements in this fluent iterable.
FluentIterableskip(int numberToSkip)
Returns a view of this fluent iterable that skips its first numberToSkip elements.
E[]toArray(Class type)
Returns an array containing all of the elements from this fluent iterable in iteration order.
ImmutableListtoList()
Returns an ImmutableList containing all of the elements from this fluent iterable in proper sequence.
ImmutableSettoSet()
Returns an ImmutableSet containing all of the elements from this fluent iterable with duplicates removed.
ImmutableListtoSortedList(Comparator comparator)
Returns an ImmutableList containing all of the elements from this FluentIterable in the order specified by comparator .
StringtoString()
Returns a string representation of this fluent iterable, with the format [e1, e2, ..., en] .
FluentIterabletransform(Function function)
Returns a fluent iterable that applies function to each element of this fluent iterable.
FluentIterabletransformAndConcat(Function> function)
Applies function to each element of this fluent iterable and returns a fluent iterable with the concatenated combination of results.