swarm-support
[Top][All Lists]
Advanced

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

Re: Nested classes in simpleExperBug?


From: Paul Johnson
Subject: Re: Nested classes in simpleExperBug?
Date: Tue, 31 Dec 2002 18:07:00 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

Parameter management and passing parameters in Java was very hard to translate. In the swarm archive, you should be able to find a long series of emails from me, Marcus, and Sven about it, which culminated in Sven's manifesto on parameters. It is all documented:

http://lark.cc.ku.edu/~pauljohn/SwarmFaq/SwarmOnlineFaq.html#7.7

I recall thinking that some of the approaches I suggested in swarm-support were easier, but gave up caring after I got tired/sick of Java.

I wonder if you are working together with the previous team that was working on a Java tutorial for swarm in the bugs line. I recall that code is in CVS on the Savannah site.


Li An wrote:
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.



--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


                 ==================================
  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]