de.grogra.blocks.functionParser
Class BinaryExpr

java.lang.Object
  extended by de.grogra.blocks.functionParser.Expr
      extended by de.grogra.blocks.functionParser.BinaryExpr
Direct Known Subclasses:
BinaryMinus, BinaryPlus, Divide, Gcd, Kgv, Mod, Mult, NSqrt, Pow

public abstract class BinaryExpr
extends Expr


Field Summary
protected  Expr left
           
protected  Expr right
           
 
Constructor Summary
protected BinaryExpr(Expr left, Expr right)
           
 
Method Summary
 void setD(double x)
           
 void setH(double x)
           
 void setHl(double x)
           
 void setI(double x)
           
 void setN1(double x)
           
 void setN2(double x)
           
 void setN3(double x)
           
 void setP(double x)
           
 void setPreI(double x)
           
 void setX(double x)
           
 
Methods inherited from class de.grogra.blocks.functionParser.Expr
eval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

left

protected Expr left

right

protected Expr right
Constructor Detail

BinaryExpr

protected BinaryExpr(Expr left,
                     Expr right)
Method Detail

setD

public void setD(double x)
Specified by:
setD in class Expr

setH

public void setH(double x)
Specified by:
setH in class Expr

setHl

public void setHl(double x)
Specified by:
setHl in class Expr

setI

public void setI(double x)
Specified by:
setI in class Expr

setN1

public void setN1(double x)
Specified by:
setN1 in class Expr

setN2

public void setN2(double x)
Specified by:
setN2 in class Expr

setN3

public void setN3(double x)
Specified by:
setN3 in class Expr

setP

public void setP(double x)
Specified by:
setP in class Expr

setPreI

public void setPreI(double x)
Specified by:
setPreI in class Expr

setX

public void setX(double x)
Specified by:
setX in class Expr