|
||||||||||
| PREV CLASS NEXT CLASS | NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.haley.haleyrules.eclipsefunction.EclipseFunction
com.haley.haleyrules.eclipsefunction.EclipseFunctionWithNoArguments
The EclipseFunctionWithNoArguments abstract class provides the necessary public definitions needed to extend the Inference Engine with a function with no arguments.
EclipseFunction| Field Summary |
| Fields inherited from class com.haley.haleyrules.eclipsefunction.EclipseFunction |
JULIAN_RETURN_TYPE, UTC_RETURN_TYPE, VARIABLE |
| Constructor Summary | |
EclipseFunctionWithNoArguments()
|
|
| Method Summary | |
abstract java.lang.Object |
evaluate(WorkingMemory wm)
Returns the object for this function given a working memory. |
int |
getArity()
Implements EclipseFunction.getArity() to return 0 |
| Methods inherited from class com.haley.haleyrules.eclipsefunction.EclipseFunction |
getReturnTypeForJavaDate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public EclipseFunctionWithNoArguments()
| Method Detail |
public final int getArity()
EclipseFunction.getArity() to return 0
getArity in class EclipseFunction
public abstract java.lang.Object evaluate(WorkingMemory wm)
throws java.lang.Exception
wm - the working that this function is to be evaluated for.
java.lang.Exception - on error.
|
||||||||||
| PREV CLASS NEXT CLASS | NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||