|
JTR 5.0 API Documentation | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjtr.lang.functions.impl.BaseFunction
public abstract class BaseFunction
This base abstract class contains useful methods for specialized functions.
Constructor Summary | |
---|---|
BaseFunction()
|
Method Summary | |
---|---|
protected void |
checkPreconditions(java.lang.String[] actualParameters)
Checks whether the provided actual parameters satisfy the requiremenets in terms of nullability and number. |
protected abstract java.lang.String |
getErrorMsg()
An error message that must be provided to the user. |
protected abstract int |
getMaxNumberOfArguments()
Returns the maximum number of expected parameters. |
protected abstract int |
getMinNumberOfArguments()
Returns the minimum number of expected parameters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BaseFunction()
Method Detail |
---|
protected void checkPreconditions(java.lang.String[] actualParameters)
actualParameters
- protected abstract int getMinNumberOfArguments()
protected abstract int getMaxNumberOfArguments()
protected abstract java.lang.String getErrorMsg()
|
The JTR Project is licensed under GPL version 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |