swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nested classes in simpleExperBug?


From: Li An
Subject: Nested classes in simpleExperBug?
Date: Tue, 31 Dec 2002 18:39:52 -0500

Hi,

In the Obj-C version of the simpleExperBug, the ParameterManager.h is nested in ExperSwarm.h, and correspondingly, the ParameterManager.m is nested in ExperSwarm.m. In writing the associated java code, should I write two separate classes as ParameterManager.java and ExperSwarm.java and save them under the same directory (such as /home/.../simpleExperBug/), or just one ExperSwarm.java and let the ParameterManager as a local subclass (a special java inner class) that resides within- ExperSwarm.java? An example of the later local subclass is the HeatbugObserverProbeMap class that is nested in HeatbugObserverSwarm.java in the jheatbugs-2001-03-28 example. Thanks.

Happy new year,

Li
Li An
Systems Modeling Lab
Department of Fisheries and Wildlife
Michigan State University
East Lansing, MI 48824
Phone (Work): 517-353-7981
Fax: 517-432-1699


                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]