
Public Member Functions | |
| StkConst (String name, double v) | |
| Constructs a stack constant. | |
| StkConst (StkConst other) | |
| Copy constructor. | |
| double | getValue () |
| Gets the value of the constant. | |
| boolean | equals (StkConst other) |
| Tests equality. | |
| boolean | equals (double otherValue) |
| Tests equality. | |
| void | evalStack (StkPointer p) |
| Evaluates the stack. | |
| String | getClassName () |
| Gets the class name. | |
| void | writeExternal (ObjectOutput out) throws java.io.IOException |
| Saves object state. | |
| void | readExternal (ObjectInput in) throws java.io.IOException |
| Restores object state. | |
| gridripper::math::expr::StkConst::StkConst | ( | String | name, | |
| double | v | |||
| ) | [inline] |
Constructs a stack constant.
| name | the constant name | |
| value | the value |
| gridripper::math::expr::StkConst::StkConst | ( | StkConst | other | ) | [inline] |
Copy constructor.
| other | the object to copy |
| double gridripper::math::expr::StkConst::getValue | ( | ) | [inline] |
Gets the value of the constant.
| boolean gridripper::math::expr::StkConst::equals | ( | StkConst | other | ) | [inline] |
Tests equality.
| boolean gridripper::math::expr::StkConst::equals | ( | double | otherValue | ) | [inline] |
Tests equality.
| void gridripper::math::expr::StkConst::evalStack | ( | StkPointer | p | ) | [inline, virtual] |
| String gridripper::math::expr::StkConst::getClassName | ( | ) | [inline, virtual] |
| void gridripper::math::expr::StkConst::writeExternal | ( | ObjectOutput | out | ) | throws java.io.IOException [inline] |
Saves object state.
| out | the stream to write the object to |
| IOException | Includes any I/O exceptions that may occur |
Reimplemented from gridripper::math::expr::StkFunc.
| void gridripper::math::expr::StkConst::readExternal | ( | ObjectInput | in | ) | throws java.io.IOException [inline] |
Restores object state.
| in | the stream to read data from in order to restore the object |
| IOException | if I/O errors occur |
Reimplemented from gridripper::math::expr::StkFunc.
1.5.6