Abraham Tehrani created COLLECTIONS-578:
-------------------------------------------

             Summary: CollectionUtils method to accept Comparator as overloaded 
arguments
                 Key: COLLECTIONS-578
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-578
             Project: Commons Collections
          Issue Type: Improvement
    Affects Versions: 4.0
            Reporter: Abraham Tehrani
            Priority: Minor


CollectionUtils has numerous methods that would benefit from having an 
overloaded argument that accepts Comparators. This is helpful when Objects in 
the Lists do not implement equals the way that is wanted.

Example if CollectionUtils.containsAny(...) accepted a Comparator interface, we 
could then define a custom implementation of comparison.

This would make it far more flexible



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to