de.grogra.blocks.functionParser
Class Abs

java.lang.Object
  extended by de.grogra.blocks.functionParser.Expr
      extended by de.grogra.blocks.functionParser.UnaryExpr
          extended by de.grogra.blocks.functionParser.Abs

public class Abs
extends UnaryExpr


Field Summary
 
Fields inherited from class de.grogra.blocks.functionParser.UnaryExpr
operand
 
Constructor Summary
Abs(Expr operand)
           
 
Method Summary
 double eval()
          Wertet das object aus.
 java.lang.String toString()
          wandelt das Obj in einen String
 
Methods inherited from class de.grogra.blocks.functionParser.UnaryExpr
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

Abs

public Abs(Expr operand)
Method Detail

eval

public double eval()
Wertet das object aus.

Specified by:
eval in class Expr
Returns:
double das Ergebniss der Berechnung

toString

public java.lang.String toString()
wandelt das Obj in einen String

Overrides:
toString in class java.lang.Object
Returns:
String repraesentation des Obj