commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: Determine if an object is in a list
Date Tue, 01 Dec 2009 15:57:45 GMT
I was looking for that.  It used to be in collections I believe.

On Tue, Dec 1, 2009 at 10:43 AM, Brent Worden <brent.worden@gmail.com> wrote:
> On Mon, Nov 30, 2009 at 10:38 PM, Guy Rouillier <guyr-ml1@burntmail.com> wrote:
>> James Carman wrote:
>>>
>>> It's not that hard to create your own predicate that does what you
>>> want.  We did that for our project.  Here are the two classes we use
>>> (the first one is a useful superclass for property value-based
>>> predicates):
>>
>> James, thank you.  This is indeed what I was looking for.  Mind if I include
>> your classes with a feature request? (with attribution, of course.)  I think
>> this is basic functionality that should be included with Commons
>> Collections.
>>
>
> I think commons-beanutils has the predicate you need.
>
> http://commons.apache.org/beanutils/v1.8.2/apidocs/org/apache/commons/beanutils/BeanPropertyValueEqualsPredicate.html
>
> Brent
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message