You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Abraham Tehrani (JIRA)" <ji...@apache.org> on 2015/10/22 01:11:27 UTC

[jira] [Created] (COLLECTIONS-578) CollectionUtils method to accept Comparator as overloaded arguments

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)