|
||||||||||
| 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.EclipseFunctionWithOneArgument
The EclipseFunctionWithOneArgument abstract class provides the necessary public definitions needed to extend the Inference Engine with a function with one argument.
EclipseFunction| Field Summary |
| Fields inherited from class com.haley.haleyrules.eclipsefunction.EclipseFunction |
JULIAN_RETURN_TYPE, UTC_RETURN_TYPE, VARIABLE |
| Constructor Summary | |
EclipseFunctionWithOneArgument()
|
|
| Method Summary | |
abstract java.lang.Object |
evaluate(WorkingMemory wm,
java.lang.Object object)
Returns the object for this function given a working memory and a single object. |
int |
getArity()
Implements EclipseFunction.getArity() to return 1 |
| 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 EclipseFunctionWithOneArgument()
| Method Detail |
public final int getArity()
EclipseFunction.getArity() to return 1
getArity in class EclipseFunction
public abstract java.lang.Object evaluate(WorkingMemory wm,
java.lang.Object object)
throws java.lang.Exception
wm - the working that this function is to be evaluated for.object - the argument to this functin.
java.lang.Exception - on error.
|
||||||||||
| PREV CLASS NEXT CLASS | NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||