|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectIAmAlice
class IAmAlice
This is Alice's thread.
| Constructor Summary | |
|---|---|
IAmAlice(Semaphore semaphore)
The constructor just sets the synchronization this.semaphore. |
|
| Method Summary | |
|---|---|
void |
run()
Method invoked by Thread.start(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IAmAlice(Semaphore semaphore)
this.semaphore.
| Method Detail |
|---|
public void run()
Thread.start().
run in interface Runnable
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||