swarm-support
[Top][All Lists]
Advanced

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

Re: Swarm interfaces (was Re: Event's Parameters


From: Marcus G. Daniels
Subject: Re: Swarm interfaces (was Re: Event's Parameters
Date: 16 Jul 2001 19:28:37 -0600
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.7

PJ> ....oh, gosh. It is necessary to detect the type of input, and
PJ> then call the right method from FArgumentsC, as in addInt, add
PJ> Unsigned, addObject, etc....

You might consider adding an addJavaPrimitive method that, while only
accepting objects, would internally check for potential primitives
based on the object wrapper, and then added that primitive (not the
object) to the FArguments.  Compare with addJavaObject in FArguments.

PJ> What do you think of requiring a "smaller" interface with just
PJ> those methods for objects referred to in the setDiscrete2dToDisplay in
PJ> the Value2dDisplay.m file?  That interface would be adopted by Grid2d.

Fine..  Code-as-a-proposal is better than a proposal-for-code.  Easier
to review, easier to fix, and easier to install.

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