Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (25 sloc) 502 Bytes
import edu.ucdavis.jr.*;
import java.util.*;
// This is just a class used during testing
public class TestPerson extends Person {
public TestPerson()
{
super("Testperson");
}
private boolean goHome = false;
public synchronized void setGoHome()
{
goHome = true;
}
private synchronized boolean getGoHome()
{
return goHome;
}
protected boolean shouldGoHome()
{
return getGoHome();
}
protected void oneIteration()
{
}
}