|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CompUnit | |
---|---|
org.statcato.calculator | Provides classes for the calculator tool, including a token scanner and a parser for mathematical expressions. |
Uses of CompUnit in org.statcato.calculator |
---|
Methods in org.statcato.calculator that return CompUnit | |
---|---|
static CompUnit |
MathOperations.add(CompUnit c1,
CompUnit c2)
Adds two computational units. |
CompUnit |
MathFunction.call(CompUnit c)
Performs a function call on the given computation unit. |
static CompUnit |
MathOperations.divide(CompUnit c1,
CompUnit c2)
Divides two computational units. |
static CompUnit |
MathOperations.functionCall(CompUnit c,
MathFunction f)
|
static CompUnit |
MathOperations.multiply(CompUnit c1,
CompUnit c2)
Multiplies two computational units. |
static CompUnit |
MathOperations.negate(CompUnit c)
Returns the negation of a computation unit. |
CompUnit |
MathExpParserComplete.parse(java.lang.String exp,
boolean isRadian)
Parses the given expression. |
static CompUnit |
MathOperations.power(CompUnit c1,
CompUnit c2)
Returns the value of the first computation unit raised to the second computational unit. |
static CompUnit |
MathOperations.reciprocal(CompUnit c)
Returns the reciprocal of a computational unit. |
CompUnit |
MathExpParserComplete.S()
Parses a statement. |
static CompUnit |
MathOperations.subtract(CompUnit c1,
CompUnit c2)
Returns the difference between two computational units. |
Methods in org.statcato.calculator with parameters of type CompUnit | |
---|---|
static CompUnit |
MathOperations.add(CompUnit c1,
CompUnit c2)
Adds two computational units. |
CompUnit |
MathFunction.call(CompUnit c)
Performs a function call on the given computation unit. |
static CompUnit |
MathOperations.divide(CompUnit c1,
CompUnit c2)
Divides two computational units. |
static CompUnit |
MathOperations.functionCall(CompUnit c,
MathFunction f)
|
static CompUnit |
MathOperations.multiply(CompUnit c1,
CompUnit c2)
Multiplies two computational units. |
static CompUnit |
MathOperations.negate(CompUnit c)
Returns the negation of a computation unit. |
static CompUnit |
MathOperations.power(CompUnit c1,
CompUnit c2)
Returns the value of the first computation unit raised to the second computational unit. |
static CompUnit |
MathOperations.reciprocal(CompUnit c)
Returns the reciprocal of a computational unit. |
static CompUnit |
MathOperations.subtract(CompUnit c1,
CompUnit c2)
Returns the difference between two computational units. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |