private static class FluentIterable.FromIterableFunction<E> extends java.lang.Object implements Function<java.lang.Iterable<E>,FluentIterable<E>>
Iterable<E>
into a fluent iterable.Modifier | Constructor and Description |
---|---|
private |
FromIterableFunction() |
Modifier and Type | Method and Description |
---|---|
FluentIterable<E> |
apply(java.lang.Iterable<E> fromObject)
Returns the result of applying this function to
input . |
public FluentIterable<E> apply(java.lang.Iterable<E> fromObject)
Function
input
. This method is generally
expected, but not absolutely required, to have the following properties:
Objects.equal
(a, b)
implies that Objects.equal(function.apply(a),
function.apply(b))
.
apply
in interface Function<java.lang.Iterable<E>,FluentIterable<E>>