|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--PhilosopherMain
Class PhilosopherMain defines a main method for running a dining philosophers simulation.
| Field Summary | |
static int |
NUM_PHILOSOPHERS
NUM_PHILOSOPHERS is the number of Philosophers used in the simulation. |
static long |
THINK_EAT_TIME
THINK_EAT_TIME is average time that philosophers spend thinking or eating. |
| Method Summary | |
static void |
main(java.lang.String[] args)
main(args) is the main program for a dining philosophers simulation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int NUM_PHILOSOPHERS
public static final long THINK_EAT_TIME
| Method Detail |
public static void main(java.lang.String[] args)
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||