Release Planner v1.0

rp.expn
Class DivideExpn

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

public class DivideExpn
extends BinaryOperatorExpn

A division operator node in an expression tree.

Version:
$Revision: 1.1 $, $Date: 2001/05/23 18:44:54 $

Field Summary
 
Fields inherited from class rp.expn.OperatorExpn
operands
 
Constructor Summary
DivideExpn(Expn left, Expn right)
          Construct a new division 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

DivideExpn

public DivideExpn(Expn left,
                  Expn right)
Construct a new division 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