commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <j3322...@yahoo.de>
Subject Re: [math] design patterns (was Re: cvs commit: jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat UnivariateImpl.java)
Date Fri, 20 Jun 2003 19:17:12 GMT
Phil Steitz wrote:
> The limitation on 
> overriding is a serious concern and that is why in an earlier post, I 
> suggested that we never use static methods for complex algorithms. An 
> argument could be made that it would have been better to implement the 
> methods in StatUtils as instance methods and to provide a (singleton) 
> instance factory for users.

Have a look at UnivariateRealSolverFactory and check whether you
like my approach to cater for both simplicity and flexibility.

J.Pietschmann



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


Mime
View raw message