|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Term
This interface defines the functionality necessary to deliver results. The IF-statement consists of terms, some of them being unary and binary operators, others being sources of data (Constants, Arguments, Environment).
Method Summary | |
---|---|
java.lang.Object |
evaluate(Environment env)
This method returns the evaluated result at run-time. |
java.lang.String |
getType()
This method returns the type of the value this term returns. |
Method Detail |
---|
java.lang.String getType()
java.lang.Object evaluate(Environment env) throws EvaluationException
env
- is the execution environment
EvaluationException
- if the term cannot be evaluated
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |