commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luc Maisonobe <>
Subject Re: [math] RandomData/RandomDataImpl
Date Sun, 20 Mar 2011 19:19:06 GMT
Le 20/03/2011 19:28, Phil Steitz a écrit :
> Quite a few methods have been added to RandomDataImpl that are not
> in RandomData.  The methods were added to the impl class only to
> preserve backward compatibility in versions 1 and 2.  In 3.0, we now
> have the choice to add the methods to the interface or even dispense
> with the interface altogether.  Personally, I am leaning in the
> direction to just make RandomData a concrete class and move the
> implementations in RandomDataImpl into that class.  Early on, we
> thought that RandomData might be a relatively small but useful
> interface.  What I think now is that the more valuable
> interface/implementation separation is at the lower level of random
> generators, which is enabled in RandomDataImpl.
> What do others think about this?

I also think the RandomDataImpl layer adds too much complexity for users.
+1 to merge it in RandomData.


> Phil
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message