| Package | Description |
|---|---|
| a2u.tn.utils.computer.calculator | |
| a2u.tn.utils.computer.formula |
| Modifier and Type | Method and Description |
|---|---|
Object |
Calculator.calcArgument(FormulaPart part,
Object value,
int rowIndex,
Collection<Object> allRows)
Compute result for part of formula
|
| Modifier and Type | Class and Description |
|---|---|
class |
FPBlock
Part in parentheses, has the highest priority in computing
|
class |
FPFunction
Function calling info
|
class |
FPLiteralNumber
Number literal
|
class |
FPLiteralString
String literal
|
class |
FPOperation
Operation
Every operation has two argument and command
|
class |
FPValue
Extract value from source
|
| Modifier and Type | Method and Description |
|---|---|
FormulaPart |
FPOperation.getArg1() |
FormulaPart |
FPOperation.getArg2() |
FormulaPart |
FPValue.getFilter() |
FormulaPart |
FPBlock.getOperation() |
FormulaPart |
Formula.getRootPart()
Return Root operation
|
| Modifier and Type | Method and Description |
|---|---|
List<FormulaPart> |
FPFunction.getParams() |
| Modifier and Type | Method and Description |
|---|---|
FPOperation |
FPOperation.addOperation(FPOperation.Command command,
FormulaPart arg)
Add operation with prioritize
|
static FPOperation |
FPOperation.make(FormulaPart arg1,
FPOperation.Command command,
FormulaPart arg2) |
void |
FPValue.setFilter(FormulaPart filter) |
| Constructor and Description |
|---|
Formula(FormulaPart rootPart)
Constructor for instantiate formula by root element
|
FPBlock(FormulaPart internal) |
FPOperation(FPOperation.Command command,
FormulaPart arg1) |
| Constructor and Description |
|---|
FPFunction(String name,
List<FormulaPart> params) |
Copyright © 2018. All rights reserved.