swarm-support
[Top][All Lists]
Advanced

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

RE: Probes


From: Fred Wan
Subject: RE: Probes
Date: Fri, 6 Apr 2001 13:20:22 +0200

Could it have something to do with the fact that the base class is an
abstract class? If so, is there any solution for this problem?

Thanks,
Fred.

> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden Behalf Of Marcus G. Daniels
> Sent: Friday, April 06, 2001 12:16 AM
> To: address@hidden
> Subject: Re: Probes
>
>
> >>>>> "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.
>


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