commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Resolved] (COLLECTIONS-489) Satisfies utility method
Date Fri, 25 Oct 2013 14:20:33 GMT


Sebb resolved COLLECTIONS-489.

       Resolution: Duplicate
    Fix Version/s:     (was: 4.0-alpha1)
                       (was: 3.2.2)
                       (was: 4.0)
                       (was: 4.x)
                       (was: Nightly Builds)

> Satisfies utility method
> ------------------------
>                 Key: COLLECTIONS-489
>                 URL:
>             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
>              Labels: features, newbie, util
>   Original Estimate: 2h
>  Remaining Estimate: 2h
> 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

View raw message