| Package | Description |
|---|---|
| a2u.tn.utils.computer.calculator | |
| a2u.tn.utils.computer.maplist.functions |
| Modifier and Type | Method and Description |
|---|---|
Function |
Calculator.getFunction(String name)
Getter for known functions
|
| Modifier and Type | Method and Description |
|---|---|
void |
Calculator.addFunction(Function function)
Add or replace function for used in query
|
| Modifier and Type | Class and Description |
|---|---|
class |
Count
Calc count not null values in path
See @link FunctionsTest#countTest() for demo
|
class |
DateToStr
Convert java.util.Date to string with format
|
class |
Distinct
Return true if this row is encountered for the first time
|
class |
False
Return boolean value 'false'
|
class |
First
Return true is current row is first
Using:
If query .mailList.autor
return {List:['Autor01','Autor02','Autor03']}
Then query .mailList.autor(firstRow)
will return {String:'Autor01'}
|
class |
Last
Return true is current row is last
Using:
If query .mailList.autor
return {List:['Autor01','Autor02','Autor03']}
Then query .mailList.autor(lastRow)
will return {String:'Autor03'}
|
class |
Like
Return true if the condition specified by the regular expression is true
Parameters:
- string for test
- regular expression
|
class |
Max
Detect max value
|
class |
MaxInRows
Detect max value in path by all rows
|
class |
Min
Detect minimal value in path
|
class |
Null
Return null value
|
class |
Nvl
Return substitute if value is null
|
class |
RowNum
Return number of current row in collection.
|
class |
RowsCount
Return the number of rows in this collection
|
class |
ToDate
Converts a string with format to java.util.Date
|
class |
True
Return boolean value 'true'
|
Copyright © 2018. All rights reserved.