The typical answer to this when adding a functional method like compute is to 
also add a view object. The rationale is that a small number of view methods 
can be composed with a small number of compute/aggregate methods to get the 
expressive power of what would otherwise require a vast array of methods.  

On Nov 15, 2012, at 7:03 AM, Phil Steitz <phil.ste...@gmail.com> wrote:

> 
> Then in RDA, we add compute(ArrayFunction) as a public method.  Then
> if we make UnivariateStatistic extend this new interface,
> DescriptiveStatistics can get what it needs from this.
> 
> Just at thought.  Would love to get better ideas on this.  What is
> in trunk now works; but having to subclass for internal use makes me
> wonder if we have solved the problem.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to