swarm-support
[Top][All Lists]
Advanced

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

Re: swam.Globals


From: Marcus G. Daniels
Subject: Re: swam.Globals
Date: 02 Aug 2000 10:36:25 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

>>>>> "FW" == Fred Wan <address@hidden> writes:

FW> I suppose that it also holds for swarm.Selector ...? 

The intent is to give the appearance of an Objective C selector.

The Selector constructor takes a class argument (the class the method
will be invoked on) because Java doesn't have the notion of a method
independent from a class.  The `objcFlag' says whether the method name is
in Objective C syntax, i.e. "call:with:with:" instead of "call$with$with".

A Selector can only be instantiated if the method name is not
associated with other variants; it cannot be polymorphic.  By
"variant" I mean that call$with$with (int, int) will conflict with
call$with$with (double, double).  If there are conflicts, Selector
will print a warning message.

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