net.sourceforge.webcompmath.data.beans
Class WCMConstantBean

java.lang.Object
  extended by net.sourceforge.webcompmath.data.Constant
      extended by net.sourceforge.webcompmath.data.beans.WCMConstantBean
All Implemented Interfaces:
java.io.Serializable, Expression, ExpressionCommand, MathObject, Value

public class WCMConstantBean
extends Constant

Author:
Tom Downey
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.webcompmath.data.Constant
value
 
Constructor Summary
WCMConstantBean()
          Default constructor; make a constant with value 0.
WCMConstantBean(double d)
          Convenience constructor to set the value.
 
Method Summary
 void setValue(double v)
          Set the value of the constant.
 
Methods inherited from class net.sourceforge.webcompmath.data.Constant
appendOutputString, apply, compileDerivative, dependsOn, derivative, extent, getName, getVal, getValueWithCases, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WCMConstantBean

public WCMConstantBean()
Default constructor; make a constant with value 0.


WCMConstantBean

public WCMConstantBean(double d)
Convenience constructor to set the value.

Parameters:
d - the value
Method Detail

setValue

public void setValue(double v)
Set the value of the constant.

Parameters:
v -