Release Planner v1.0

rp.expn
Class NegateExpn

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

public class NegateExpn
extends UnaryOperatorExpn

A unary operation in an expression tree.

Version:
$Revision: 1.2 $, $Date: 2001/05/23 19:47:04 $

Field Summary
 
Fields inherited from class rp.expn.OperatorExpn
operands
 
Constructor Summary
NegateExpn(Expn operand)
          Construct a new negation operator with the given operand.
 
Method Summary
 double getScalarMean()
          Return a (possibly computed) scalar mean for this node in the expression tree.
 
Methods inherited from class rp.expn.UnaryOperatorExpn
getUnaryOperand, setUnaryOperand
 
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

NegateExpn

public NegateExpn(Expn operand)
Construct a new negation operator with the given operand.

Parameters:
operand - the unary 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