swarm-support
[Top][All Lists]
Advanced

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

Re: Probes


From: Marcus G. Daniels
Subject: Re: Probes
Date: 05 Apr 2001 15:16:15 -0700
User-agent: Gnus/5.070084 (Pterodactyl Gnus v0.84) Emacs/20.4

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

FW> But here I want to include a variable from the base class in a
FW> probemap from a derived class. 

Say, something like this...

        VarProbe probeVariable (String name)
        {
            VarProbe varProbe = null;
            Class baseClass = getProbedClass ();

            do {
                varProbe =
                    Globals.env.probeLibrary.getProbeForVariable$inClass
                    (name, baseClass);
                baseClass = baseClass.getSuperclass ();
            } while (varProbe == null && baseClass != null);
            return varProbe;
        }

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