Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
There are still several places in the API which take a Collection as input but could be much more useful if replaced with an Iterable.
Examples:
- many of the functor classes have a static factory method to add a collection of predicates:
public static <T> Predicate<T> anyPredicate(final Collection<? extends Predicate<T>> predicates) should better be public static <T> Predicate<T> anyPredicate(final Iterable<? extends Predicate<T>> predicates) {
- CollectionUtils: forAllDo, collate, select ...