Hi Stephen

I've given the code a quick once-over and it looks great. Nice and clean.
I've added into CVS - if anyone has any objections please speak up.

Some JUnit test cases would be nice for this stuff ;-)

James
----- Original Message -----
From: "Stephen Colebourne" <[EMAIL PROTECTED]>
To: "Jakarta Commons Developers List" <[EMAIL PROTECTED]>
Sent: Wednesday, May 01, 2002 11:38 PM
Subject: [Collections][SUBMIT] PredicateUtils [was TypedList]


> Hi all,
> Please find attached PredicateUtils.
>
> PredicateUtils is a single class that provides predicate (validating)
> implementations of all java and commons collections:
> Collection
> List
> Set, SortedSet
> Map, SortedMap
> Bag, SortedBag
>
> It also provides useful predicate classes:
> True
> False
> And
> Or
> Not
> instanceof
>
> To avoid polluting the commons package with the 18 classes necessary to
> achieve this, they are all implemented as static nested classes within
> PredicateUtils. This is similar to how synchronized and unmodifiable
> collections work in java.util.Collections. All the classes are created and
> used by static factory methods, except True and False which are constants.
>
> Feedback welcome on the implementation, and indications of acceptability
for
> actual inclusion in commons.
>
> Stephen
>


----------------------------------------------------------------------------
----


> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to