Release Planner v1.0

rp.expn
Class UnaryOperatorExpn

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

public abstract class UnaryOperatorExpn
extends OperatorExpn

A unary operation in an expression tree.

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

Field Summary
 
Fields inherited from class rp.expn.OperatorExpn
operands
 
Constructor Summary
UnaryOperatorExpn(Expn operand)
          Construct a new unary operator with the given operand.
 
Method Summary
 Expn getUnaryOperand()
          Gets the unary operand.
 void setUnaryOperand(Expn operand)
          Sets the unary operand.
 
Methods inherited from class rp.expn.OperatorExpn
getNumOperands, getOperand, getOperand, setNumOperands, setOperand, setOperand, update
 
Methods inherited from class rp.expn.Expn
getScalarMean
 
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

UnaryOperatorExpn

public UnaryOperatorExpn(Expn operand)
Construct a new unary operator with the given operand.

Parameters:
operand - the unary operand
Method Detail

setUnaryOperand

public void setUnaryOperand(Expn operand)
Sets the unary operand.

Parameters:
operand - the new unary operand

getUnaryOperand

public Expn getUnaryOperand()
Gets the unary operand.

Returns:
the unary operand

Release Planner v1.0