Overview
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
B
C
G
M
R
S
T
B
buildObjects()
- Method in class
Model
Create a List and fill it with N student objects.
C
checkAgain()
- Method in class
Model
checkAgents()
- Method in class
Model
Tell the agents to sayHi in various ways.
G
getName()
- Method in class
Student
Return the student's name string
M
main(String[])
- Static method in class
Test
Model
- class
Model
.
Model(int)
- Constructor for class
Model
R
receiveMessage(Student, String)
- Method in class
Student
The Student object receives a message from "obj" and the content of the message is a String s Note I'm inconsistent here in setting a precise type for obj in this method, whereas I used Object in sayHiTo().
S
sayHi()
- Method in class
Student
This is a diagnostic method.
sayHiTo(Object)
- Method in class
Student
The student is supposed to send a message to the target Object.
Student
- class
Student
.
Student Class.
Student(String)
- Constructor for class
Student
Create a student and tell it its name
T
Test
- class
Test
.
The Model's constructor needs a number input to set the number of agents in the model.
Test()
- Constructor for class
Test
B
C
G
M
R
S
T
Overview
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES