util
Class Semaphore

java.lang.Object
  extended byutil.Semaphore

public final class Semaphore
extends java.lang.Object


Constructor Summary
Semaphore()
          Erzeugt eine Semaphore, mit dem Startwert 1.
Semaphore(int value)
           
 
Method Summary
 void betreten()
           
 int getCounter()
           
 void verlassen()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Semaphore

public Semaphore()
Erzeugt eine Semaphore, mit dem Startwert 1.


Semaphore

public Semaphore(int value)
Method Detail

betreten

public void betreten()

verlassen

public void verlassen()

getCounter

public int getCounter()