| Interface | Description |
|---|---|
| Extension |
This interface is extended by
Operator or Function
During execution every class that implement this interface will have only one instance stored into cache CacheExtension. |
| Function |
Methods for function implementation
|
| NumConverter<T> |
Interface that define methods for conversion of custom Object to BigDecimal
with which JCalc API knows to work.
|
| Operator |
Method for implementing operator.
|
| Class | Description |
|---|---|
| AbstractCalculator<CALC> |
Abstract class which is extended by concrete calculator (e.g.
|
| CalcFactory |
Common used expressions
|
| Calculator |
Calculator implementation with basic operations.
|
| Num |
Mutable wrapper object around BigDecimal object.
|
| Properties |
Properties for
AbstractCalculator, Num
With ability to declare global properties on scope of running application by providing properties file in class path. |
| Step |
Describe individual step of calculation process.
|
| TrigCalculator |
Calculator implementation with trigonometric functions.
|
| Enum | Description |
|---|---|
| Rounding |
Map rounding between
BigDecimal rounding mode, and RoundingMode
JCalc API use BigDecimal rounding when it's possible, otherwise it use standard RoundingModey. |
| Exception | Description |
|---|---|
| CalculatorException |
Exception wrapper around RuntimeException.
|
| Annotation Type | Description |
|---|---|
| BindExtension |
Link operator or function interface that contains overloaded methods to implements in
AbstractCalculator
with concrete class that implement calculation logic for annotated operator or function. |
| SingletonExtension |
Annotation properties for
NumConverter, Operator, Function implementation which
provide that only one instance of implementation can be instantiate. |
JCalc API 2014 Davor Sauer - Apache 2.0