commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <>
Subject [jira] [Created] (COLLECTIONS-466) Replace Collection with Iterable where applicable in the API
Date Tue, 07 May 2013 05:37:15 GMT
Thomas Neidhart created COLLECTIONS-466:

             Summary: Replace Collection with Iterable where applicable in the API
                 Key: COLLECTIONS-466
             Project: Commons Collections
          Issue Type: Improvement
            Reporter: Thomas Neidhart
             Fix For: 4.0

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.


 * 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>>
   should better be

   public static <T> Predicate<T> anyPredicate(final Iterable<? extends Predicate<T>>
predicates) {

 * CollectionUtils: forAllDo, collate, select ...

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message