edu.pdx.cs399J.net
Class McCustomer
java.lang.Object
edu.pdx.cs399J.net.McCustomer
- All Implemented Interfaces:
- Runnable
public class McCustomer
- extends Object
- implements Runnable
A McCustomer arrives a McDonalds and
waits for a BigMac.
|
Method Summary |
void |
run()
Go to a McDonalds and wait for a BigMac |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
McCustomer
public McCustomer(int id,
McDonalds mcDonalds)
- Creates a new
McCustomer
run
public void run()
- Go to a
McDonalds and wait for a BigMac
- Specified by:
run in interface Runnable
Copyright © 2000-2009 Portland State University. All Rights Reserved.