jscicalc.expression.Expression Class Reference

This class represents an output token that can be handled by Parser and is not an Error or Complex. More...

Inheritance diagram for jscicalc.expression.Expression:

jscicalc.OObject jscicalc.GObject jscicalc.expression.jscicalc.expression.Dyadic< E extends jscicalc.pobject.PObject > jscicalc.expression.Monadic jscicalc.expression.SumOrProduct jscicalc.expression.Variable jscicalc.expression.ACos jscicalc.expression.ASin jscicalc.expression.ATan jscicalc.expression.Conjugate jscicalc.expression.Cos jscicalc.expression.Exp jscicalc.expression.Factorial jscicalc.expression.Ln jscicalc.expression.Log jscicalc.expression.Sin jscicalc.expression.Tan jscicalc.expression.Product jscicalc.expression.Sum
Collaboration diagram for jscicalc.expression.Expression:

Collaboration graph
[legend]

List of all members.

Public Member Functions

int compareTo (Expression expression)
 The comparison operator.
abstract Expression negate ()
 Return the negative of this.


Detailed Description

This class represents an output token that can be handled by Parser and is not an Error or Complex.

See also:
OObject
Author:
J. D. Lamb
Version:
Revision
1.3

Member Function Documentation

int jscicalc.expression.Expression.compareTo ( Expression  expression  ) 

The comparison operator.

Parameters:
expression The Expression to be compared.
Returns:
integer indicating how expression is compared to this.

Referenced by jscicalc.expression.SumOrProduct.compare().

abstract Expression jscicalc.expression.Expression.negate (  )  [pure virtual]

Return the negative of this.

Returns:
The negative of this

Reimplemented from jscicalc.OObject.

Implemented in jscicalc.expression.Monadic, jscicalc.expression.Product, jscicalc.expression.Sum, and jscicalc.expression.Variable.


The documentation for this class was generated from the following file:

Generated on Sun Jun 1 08:58:04 2008 for Java Scientific Calculator by  doxygen 1.5.5