public final class Fluent<E> extends java.lang.Object implements FluentIterable<E>
FluentIterable.| Constructor and Description |
|---|
Fluent(java.lang.Iterable<E> delegate)
Provides a
FluentIterable for the given Iterator. |
| Modifier and Type | Method and Description |
|---|---|
FluentIterable<E> |
filtered(Filter<E> filter)
Returns a
FluentIterable that filters the elements of this FluentIterable with the given
filter. |
java.util.Iterator<E> |
iterator() |
<T> FluentIterable<T> |
mapped(Function<E,T> function)
|
public Fluent(java.lang.Iterable<E> delegate)
FluentIterable for the given Iterator.delegate - The Iterable to decorate.public FluentIterable<E> filtered(Filter<E> filter)
FluentIterableFluentIterable that filters the elements of this FluentIterable with the given
filter.filtered in interface FluentIterable<E>public <T> FluentIterable<T> mapped(Function<E,T> function)
FluentIterablemapped in interface FluentIterable<E>