Package com.google.common.collect
Class FluentIterable.FromIterableFunction<E>
- java.lang.Object
-
- com.google.common.collect.FluentIterable.FromIterableFunction<E>
-
- All Implemented Interfaces:
Function<java.lang.Iterable<E>,FluentIterable<E>>
- Enclosing class:
- FluentIterable<E>
private static class FluentIterable.FromIterableFunction<E> extends java.lang.Object implements Function<java.lang.Iterable<E>,FluentIterable<E>>
Function that transformsIterable<E>into a fluent iterable.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateFromIterableFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FluentIterable<E>apply(java.lang.Iterable<E> fromObject)Returns the result of applying this function toinput.
-
-
-
Method Detail
-
apply
public FluentIterable<E> apply(java.lang.Iterable<E> fromObject)
Description copied from interface:FunctionReturns the result of applying this function toinput. This method is generally expected, but not absolutely required, to have the following properties:- Its execution does not cause any observable side effects.
- The computation is consistent with equals; that is,
Objects.equal(a, b)implies thatObjects.equal(function.apply(a), function.apply(b)).
- Specified by:
applyin interfaceFunction<java.lang.Iterable<E>,FluentIterable<E>>
-
-