swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Java swarm help with Log File


From: durga bhavani
Subject: Re: [Swarm-Support] Java swarm help with Log File
Date: Mon, 7 Nov 2005 20:58:58 -0800 (PST)

Hello
 
These class files are not  in the instances of LeaderList
I wrote a small program to check wether i can access that value form here
Here is MyMathsClass
class MyMathsClass{
public int addEmUp(){
int i,j;
int value=0;
for(i=0;i<10;i++){
for(j=0;j<10;j++){
value=i+j;
}
}
return value;
}
}
 
Could you please  tell me how to make these methods in the instances of Leaderlist
 
Thanks in advance
Durga
 
"Marcus G. Daniels" <address@hidden> wrote:
durga bhavani wrote:

> when I am Including this code in the ModelSwarm I am getting the above
> error
> This I am writing in buildActions()
>
>
> sel = SwarmUtils.getSelector("MyMathsClass","addEmUp");
> modelActions.createActionTo$message(leaderList,sel);

For starters, are the objects that are in leaderList instances of
MyMathsClass or a descendant class? Is `addEmUp' a method in
MyMathsClass?

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


Yahoo! FareChase - Search multiple travel sites in one click.
reply via email to

[Prev in Thread] Current Thread [Next in Thread]