org.drools.semantics.base
Class ShortSemaphore

java.lang.Object
  extended by org.drools.semantics.base.ShortSemaphore
All Implemented Interfaces:
Serializable, Semaphore

public class ShortSemaphore
extends Object
implements Semaphore

See Also:
Serialized Form

Field Summary
(package private)  String identifier
           
(package private)  short value
           
 
Constructor Summary
ShortSemaphore(String identifier)
           
ShortSemaphore(String identifier, short value)
           
 
Method Summary
 String getIdentifier()
           
 short getValue()
           
 void setValue(short value)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

identifier

String identifier

value

short value
Constructor Detail

ShortSemaphore

public ShortSemaphore(String identifier)

ShortSemaphore

public ShortSemaphore(String identifier,
                      short value)
Method Detail

getIdentifier

public String getIdentifier()
Specified by:
getIdentifier in interface Semaphore

setValue

public void setValue(short value)

getValue

public short getValue()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2005 The Codehaus. All Rights Reserved.