|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.unima.ky.parallel.ExPhilosopher
a Philosopher
| Field Summary | |
(package private) edu.unima.ky.parallel.ExForks |
forks
|
(package private) int |
id
|
(package private) int |
max
|
(package private) java.io.PrintWriter |
out
|
| Constructor Summary | |
ExPhilosopher(edu.unima.ky.parallel.ExForks f,
int i,
int m,
java.io.PrintWriter o)
God creates a philosopher |
|
| Method Summary | |
(package private) static void |
doSomeWork(double t)
|
void |
run()
Tries to eat |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
edu.unima.ky.parallel.ExForks forks
int id
int max
java.io.PrintWriter out
| Constructor Detail |
public ExPhilosopher(edu.unima.ky.parallel.ExForks f,
int i,
int m,
java.io.PrintWriter o)
| Method Detail |
public void run()
run in interface java.lang.Runnablestatic void doSomeWork(double t)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||