vanted.petrinetelements
Class TokenContinuous

java.lang.Object
  extended by vanted.petrinetelements.AbstractToken
      extended by vanted.petrinetelements.TokenContinuous

public class TokenContinuous
extends AbstractToken

The Class TokenContinuous for continuous token handling.

Author:
Kevin Pucknat

Constructor Summary
TokenContinuous(double value)
          Instantiates a new token continuous.
 
Method Summary
 java.lang.Double getValue()
          Gets the value.
 void setValue(double value)
          Sets the value.
 
Methods inherited from class vanted.petrinetelements.AbstractToken
setValue, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TokenContinuous

public TokenContinuous(double value)
Instantiates a new token continuous.

Parameters:
value - the value
Method Detail

setValue

public void setValue(double value)
Sets the value.

Parameters:
value - the new value

getValue

public java.lang.Double getValue()
Description copied from class: AbstractToken
Gets the value.

Overrides:
getValue in class AbstractToken
Returns:
the value