public class FPOperation extends Object implements FormulaPart
| Modifier and Type | Class and Description |
|---|---|
static class |
FPOperation.Command
Defined operations
|
| Constructor and Description |
|---|
FPOperation(FPOperation.Command command,
FormulaPart arg1) |
| Modifier and Type | Method and Description |
|---|---|
FPOperation |
addOperation(FPOperation.Command command,
FormulaPart arg)
Add operation with prioritize
|
FormulaPart |
getArg1() |
FormulaPart |
getArg2() |
FPOperation.Command |
getCommand() |
static FPOperation |
make(FormulaPart arg1,
FPOperation.Command command,
FormulaPart arg2) |
void |
toFormated(StringBuilder b,
int indent)
Return the internal formated representation
|
String |
toJson() |
String |
toString() |
public FPOperation(FPOperation.Command command, FormulaPart arg1)
public static FPOperation make(FormulaPart arg1, FPOperation.Command command, FormulaPart arg2)
public FPOperation.Command getCommand()
public FormulaPart getArg1()
public FormulaPart getArg2()
public FPOperation addOperation(FPOperation.Command command, FormulaPart arg)
command - left operationarg - new second argumentpublic void toFormated(StringBuilder b, int indent)
FormulaParttoFormated in interface FormulaPartb - StringBuilder for resultindent - indent size in whitespace symbolspublic String toJson()
toJson in interface FormulaPartCopyright © 2018. All rights reserved.