org.drools.semantics.base
Class DoubleSemaphore

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

public class DoubleSemaphore
extends Object
implements Semaphore

See Also:
Serialized Form

Field Summary
(package private)  String identifier
           
(package private)  double value
           
 
Constructor Summary
DoubleSemaphore(String identifier)
           
DoubleSemaphore(String identifier, double value)
           
 
Method Summary
 String getIdentifier()
           
 double getValue()
           
 void setValue(double 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

double value
Constructor Detail

DoubleSemaphore

public DoubleSemaphore(String identifier)

DoubleSemaphore

public DoubleSemaphore(String identifier,
                       double value)
Method Detail

getIdentifier

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

setValue

public void setValue(double value)

getValue

public double getValue()

toString

public String toString()
Overrides:
toString in class Object


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