| Package | Description |
|---|---|
| org.apache.commons.functor.core.collection |
Collection-based functors, algorithms and utilities. |
| Modifier and Type | Method and Description |
|---|---|
static <T> FilteredIterable<T> |
FilteredIterable.empty()
Get an empty FilteredIterable.
|
static <T> FilteredIterable<T> |
FilteredIterable.of(Iterable<T> iterable)
Get a
FilteredIterable of iterable. |
FilteredIterable<T> |
FilteredIterable.retain(Class<?>... ofType)
Retain elements of any of specified types.
|
<U> FilteredIterable<U> |
FilteredIterable.retain(Class<U> type)
Retain elements of a given type with type-safety.
|
FilteredIterable<T> |
FilteredIterable.retain(UnaryPredicate<? super T> filter)
Retain only elements matching
predicate. |
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.