Class Overview
Simple Function Operand Validator that validates the number of arguments in the
FunctionOperand
.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
NumberOfArgumentsValidator
(int expected, I18nHelper i18nHelper)
Parameters
expected
| the number of arguments expected. Input operands must have this exact number of arguments. Cannot be negative. |
i18nHelper
| used for printing errors.
|
public
NumberOfArgumentsValidator
(int minExpected, int maxExpected, I18nHelper i18nHelper)
Parameters
minExpected
| the minimum number of arguments expected (inclusive). Cannot be negative. |
maxExpected
| the maximum number of arguments expected (inclusive). Cannot be negative. |
i18nHelper
| used for printing errors.
|
Public Methods
Parameters
operand
| the function operand to validate |
Returns
- a message set with errors if the number of arguments was not as expected, otherwise an empty message set. Never null.