Yes, this application would be similar to the ones you nixed. It would be a factory returning an abstract class, with the appropriate methods throwing exceptions (like getRank for the non-pivoting version-as Ted mentions in a later entry in this blog).
As Ted asks, what is the issue with this? On Thu, Oct 6, 2011 at 2:47 AM, Luc Maisonobe <luc.maison...@free.fr> wrote: > Le 06/10/2011 04:04, Sébastien Brisard a écrit : > > >>> What is the group's feeling on factory classes? +1 from me (obviously) >>> >>> +1 for me, I like factories. >> > > -0. We used factories and removed most of them. In fact, what we removed > was when factories are used to hide implementation and only an interface and > a factory are available to users. This is a different cases. > > There are other places too where we still have some factories, even in new > code (an example would be Region in the geometry package if I remember > well). > > Luc > > > > Sébastien >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> dev-unsubscribe@commons.**apache.org<dev-unsubscr...@commons.apache.org> >> For additional commands, e-mail: dev-h...@commons.apache.org >> >> >> > > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > dev-unsubscribe@commons.**apache.org<dev-unsubscr...@commons.apache.org> > For additional commands, e-mail: dev-h...@commons.apache.org > >