This page contains an archived post to the Design Forum (formerly called the Flexible Java Forum) made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
Hi I'm trying to model a system in which I have some set of Algorithms. In this system I want to provide a standard Interface to these algorithms. SO that I can maintain a collection of such algorithms and also hide the Algorithm specific data. My problem is that These Algorithm have different kind(and number) of inputs thus it becomes really difficult to put them with a single interface.
It would be greatly helpful if you can give some suggesion with an example. Thanking you in advance