Release Planner v1.0

rp.expn
Class MultiplyExpn

java.lang.Object
  |
  +--java.util.Observable
        |
        +--rp.expn.Expn
              |
              +--rp.expn.OperatorExpn
                    |
                    +--rp.expn.BinaryOperatorExpn
                          |
                          +--rp.expn.MultiplyExpn
All Implemented Interfaces:
java.util.Observer

public class MultiplyExpn
extends BinaryOperatorExpn

A multiply operator node in an expression tree.

Version:
$Revision: 1.1 $, $Date: 2001/05/23 18:45:02 $

Field Summary
 
Fields inherited from class rp.expn.OperatorExpn
operands
 
Constructor Summary
MultiplyExpn(Expn left, Expn right)
          Construct a new multiply operator with the given operands.
 
Method Summary
 double getScalarMean()
          Return a (possibly computed) scalar mean for this node in the expression tree.
 
Methods inherited from class rp.expn.BinaryOperatorExpn
getLeft, getRight, setLeft, setRight
 
Methods inherited from class rp.expn.OperatorExpn
getNumOperands, getOperand, getOperand, setNumOperands, setOperand, setOperand, update
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiplyExpn

public MultiplyExpn(Expn left,
                    Expn right)
Construct a new multiply operator with the given operands.

Parameters:
left - the left operand
right - the right operand
Method Detail

getScalarMean

public double getScalarMean()
Description copied from class: Expn
Return a (possibly computed) scalar mean for this node in the expression tree. Returns the most straight-forward, easily-computed mean value.

Specified by:
getScalarMean in class Expn

Release Planner v1.0