Hi Jonathan

Nice idea! I've committed it to CVS in the 'comparators' package. Maybe the
code could be refactored into a new ComparatorUtils later on.

From: "Jonathan Carlson" <[EMAIL PROTECTED]>
> I also have a generic ReflectingTransformer that I wrote,
> which, when coupled with the attached
> TransformingComparator will allow you to dynamically sort a
> collection based on any getter.  However, it uses a generic
> ReflectionHelper that wouldn't fit within the Collections
> framework (I don't know where it would go).  But if anyone
> is interested in that code too, I'd be happy to share it.

Some kind of PropertyTransformer that used beanutils to extract properties
from a bean, supporting beans, DynaBeans, mapped & indexed properties etc
would be really cool. To avoid circular dependencies adding this to
beanutils might make more sense.

James


_________________________________________________________
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