Sweet!  Works fine and I can actually understand what it is doing.

I wonder if this is a candidate for a more generalized accumulate function? 
something like 
    max(baseObject, comparatorMethod)

something to work on in our spare time ;o)

thanks, W

-L 

--
View this message in context: 
http://drools.46999.n3.nabble.com/Getting-one-type-from-a-collection-of-multiple-types-tp3287877p3296216.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to