de.grogra.blocks.functionParser
Class IF

java.lang.Object
  extended by de.grogra.blocks.functionParser.Expr
      extended by de.grogra.blocks.functionParser.IFExpr
          extended by de.grogra.blocks.functionParser.IF

public class IF
extends IFExpr


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

Constructor Detail

IF

public IF(BoolExpr condition,
          Expr left,
          Expr right)
Method Detail

eval

public double eval()
Specified by:
eval in class Expr

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object