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-m...
Sent from the Drools: User forum mailing list archive at
Nabble.com.