Modifier and Type | Field and Description |
---|---|
static FunctionParameter[] |
parameters
The only (but repeatable) parameter: a boolean expression
|
Constructor and Description |
---|
And()
Creates a new instance of the AND function.
|
Modifier and Type | Method and Description |
---|---|
Value |
applyTo(Expression[] arguments)
Invokes the function using the given arguments and returns the result.
|
String |
getIdentifier()
Returns the operator's string identirifer.
|
FunctionParameter[] |
getParameters()
Returns the parameters of the function.
|
boolean |
isVarArg()
Returns whether the function accepts a variable number of arguments,
i.e. whether the function's parameter list is unbounded.
|
public static final FunctionParameter[] parameters
public And()
public String getIdentifier()
Function
getIdentifier
in interface Function
public Value applyTo(Expression[] arguments) throws IllegalValueTypeException
Function
applyTo
in interface Function
IllegalValueTypeException
public FunctionParameter[] getParameters()
Function
getParameters
in interface Function