Function
public class TrueFunction extends java.lang.Object implements Function
4.3 boolean true()
Returns true.
Constructor | Description |
---|---|
TrueFunction() |
Create a new
TrueFunction object. |
Modifier and Type | Method | 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
Copyright © 2001–2018 Codehaus. All rights reserved.