commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Cain (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COLLECTIONS-492) Satisfies CollectionUtils Method
Date Fri, 25 Oct 2013 01:00:36 GMT
Josh Cain created COLLECTIONS-492:
-------------------------------------

             Summary: Satisfies CollectionUtils Method
                 Key: COLLECTIONS-492
                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-492
             Project: Commons Collections
          Issue Type: Improvement
          Components: Collection
    Affects Versions: 3.2.2, 4.0, 4.x, Nightly Builds, 4.0-alpha1
            Reporter: Josh Cain
            Priority: Trivial
             Fix For: 3.2.2, 4.0, 4.x, Nightly Builds, 4.0-alpha1


I recently needed to use something like the CollectionUtils.exists method, but I wanted to
know if a given predicate was true for ALL members of a collection, rather than just one.
 I cooked up a quick method called satisfies (help would be appreciated on the name - it's
the best that I could come up with) that determines whether a given predicate is true for
all members of a collection.

Been using this library a good deal recently - hoping to get involved in its development!



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message