org.moremotion.evaluator
Class ThenElse
java.lang.Object
org.moremotion.evaluator.ThenElse
- All Implemented Interfaces:
- Evaluable
public class ThenElse
- extends java.lang.Object
- implements Evaluable
- Version:
- $Id: ThenElse.java 51 2008-03-10 11:46:54Z erkan $
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ThenElse
public ThenElse(OPNode n1,
OPNode n2)
- Creates a new instance of ThenElse
evaluate
public java.lang.Object evaluate(SymbolResolver sr)
throws EvaluationException
- Specified by:
evaluate
in interface Evaluable
- Throws:
EvaluationException
eval
public java.lang.Object eval(SymbolResolver sr,
boolean then)
throws EvaluationException
- Throws:
EvaluationException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2002-2008 MOR YAZILIM. All Rights Reserved.