AbstractMinMaxFunction |
Abstract base class for system min/max function.
|
AssertFunction |
assert function to assert an expression's value is true, otherwise throw an exception.
|
BigIntFunction |
Cast value to bigint
|
BinaryFunction |
Binary function,includes +,-,*,/,%,!
|
BooleanFunction |
Cast value to boolean, return false when nil or false, otherwise returns true.
|
ComparatorFunction |
Returns an implementation of java.util.Comparator based upon pred function.
|
CompareFunction |
A compare function.
|
ConstantFunction |
Constant function to return the argument itself.
|
Date2StringFunction |
date_to_string function
|
DateFormatCache |
DateFormat cache
|
DecimalFunction |
Cast value to decimal.
|
DoubleFunction |
Cast value to double,double(a) eg.
|
EvalFunction |
eval(script) , eval(script, bindings) and eval(script, bindings, cached) to execute a script with
current env or special bindings, default is in caching mode.
|
IdentityFunction |
identity function return the argument itself.
|
IsAFunction |
is_a(x, clazz) returns true when x is an intance of the class.
|
IsDefFunction |
is_def(x) returns true when variable x is defined in current scope or parent scopes.
|
LoadFunction |
load('script.av') to load a script and retrieve it's exports.
|
LongFunction |
Cast value to long
|
MaxFunction |
max function to find the largest element in arguments.
|
MetaFunction |
meta(obj, [key]) function to return the meatadata of obj [with the key], returns null if ithere
is no metadata.
|
MinFunction |
min function to find the smallest element in arguments.
|
NowFunction |
now() function to invoke System.currentTimeMillis()
|
PrintFunction |
println(obj) function to print object
|
PrintlnFunction |
println(obj) function to print object with newline
|
PstFunction |
pst([out], e) function to print stacktrace of exception
|
RandomFunction |
rand() function to generate random double value
|
RangeFunction |
A function to create a range in [start, end] with step.
|
RequireFunction |
require('script.av') to load a script and retrieve it's exports, if it's required before, it will
return the exports directly.
|
SeqFunction |
seq(obj) function to cast a object into sequence, throw an runtime exception if fail.
|
StrFunction |
Cast value to string
|
String2DateFunction |
string_to_date function
|
SysDateFunction |
sysdate() function
|
TupleFunction |
tuple(x,y,z, ...) function to return an object array.
|
TypeFunction |
type(x) function return the type of x, the result is a string such as 'string', 'long', 'double'
etc.
|
UndefFunction |
undef(x) to forgot a variable that is defined in current scope.
|
WithMetaFunction |
with_meta(obj, key, value) function to add metadata key/value to obj, return the obj.
|
WithoutMetaFunction |
without_meta(obj, key) function to remove metadata by key from obj, return the obj.
|