cds.tools.parser
Class VariableOp

java.lang.Object
  extended by cds.tools.parser.AbstractOperateur
      extended by cds.tools.parser.VariableOp

public final class VariableOp
extends AbstractOperateur

Opérateur pour une 'variable'

Author:
Thomas Boch [CDS]

Constructor Summary
VariableOp()
           
 
Method Summary
 double compute()
           
 Unit getUnit()
           
 double getValue()
          Retourne la valeur de la variable
 void setUnit(Unit unit)
           
 void setValue(double value)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableOp

public VariableOp()
Method Detail

compute

public final double compute()
Specified by:
compute in class AbstractOperateur

setValue

public final void setValue(double value)

getValue

public double getValue()
Retourne la valeur de la variable


setUnit

public void setUnit(Unit unit)

getUnit

public Unit getUnit()


Copyright © 2009 UDS/CNRS