| Package | Description |
|---|---|
| org.calrissian.mango.collect |
| Modifier and Type | Method and Description |
|---|---|
FluentCloseableIterable<T> |
FluentCloseableIterable.append(Iterable<? extends T> other)
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable,
followed by those of
other. |
FluentCloseableIterable<T> |
FluentCloseableIterable.append(T... elements)
Returns a fluent iterable whose iterators traverse first the elements of this fluent iterable,
followed by
elements. |
FluentCloseableIterable<T> |
FluentCloseableIterable.autoClose()
Returns a fluent iterable where the underlying resources are automatically closed when its iterator has been
exhausted.
|
FluentCloseableIterable<T> |
FluentCloseableIterable.cycle()
Returns a fluent iterable whose
Iterator cycles indefinitely over the elements of
this fluent iterable. |
<E> FluentCloseableIterable<E> |
FluentCloseableIterable.filter(Class<E> type)
Returns the elements from this fluent iterable that are instances of class
type. |
FluentCloseableIterable<T> |
FluentCloseableIterable.filter(Predicate<? super T> predicate)
Returns the elements from this fluent iterable that satisfy a predicate.
|
static <E> FluentCloseableIterable<E> |
FluentCloseableIterable.from(CloseableIterable<E> iterable)
Create a
FluentCloseableIterable from a CloseableIterable |
FluentCloseableIterable<T> |
FluentCloseableIterable.limit(int size)
Creates a fluent iterable with the first
size elements of this
fluent iterable. |
FluentCloseableIterable<T> |
FluentCloseableIterable.skip(int numberToSkip)
Returns a view of this fluent iterable that skips its first
numberToSkip
elements. |
<E> FluentCloseableIterable<E> |
FluentCloseableIterable.transform(Function<? super T,? extends E> function)
Returns a fluent iterable that applies
function to each element of this
fluent iterable. |
<E> FluentCloseableIterable<E> |
FluentCloseableIterable.transformAndConcat(Function<? super T,? extends Iterable<E>> function)
Applies
function to each element of this fluent iterable and returns
a fluent iterable with the concatenated combination of results. |
Copyright © 2018 Calrissian. All rights reserved.