public class TrueFunction extends java.lang.Object implements Function
4.3 boolean true()
Returns true.
Constructor and Description |
---|
TrueFunction()
Create a new
TrueFunction object. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
call(Context context,
java.util.List args)
Returns
Boolean.TRUE |
static java.lang.Boolean |
evaluate()
Returns true.
|
public java.lang.Object call(Context context, java.util.List args) throws FunctionCallException
Boolean.TRUE
call
in interface Function
context
- ignoredargs
- an empty listBoolean.TRUE
FunctionCallException
- if args
is not emptypublic static java.lang.Boolean evaluate()
Boolean.TRUE