<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16608" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=779104219-11112008><FONT face=Arial size=2>I'm trying to 
average top N items.&nbsp; I can of course collect the items and do the rest in 
the consequence, but thought it might be a scenario applicable to a custom 
accumulate function.&nbsp; However, the accumulate function 
interface&nbsp;methods only take one parameter.&nbsp; If I were to declare a 
function&nbsp;top(N, things) within an accumulate call would drools autobox the 
parameters into some sort of collection?&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial size=2>Maybe this is a 
naive solution anyway.&nbsp; I am still learning to think 
declaratively.</FONT></SPAN></DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2>cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=779104219-11112008><FONT face=Arial 
size=2>-Jess</FONT></SPAN></DIV></BODY></HTML>