The Artima Developer Community
Sponsored Link

Legacy Design Forum
Designing with Interfaces



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 Artima Forums.


Object Modelling

Posted by Rituparna Agrawal on March 24, 2000 at 2:51 AM

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


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us