Class IAmAlice

java.lang.Object
  extended by IAmAlice
All Implemented Interfaces:
Runnable

 class IAmAlice
extends Object
implements Runnable

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

IAmAlice

public IAmAlice(Semaphore semaphore)
The constructor just sets the synchronization this.semaphore.

Method Detail

run

public void run()
Method invoked by Thread.start().

Specified by:
run in interface Runnable