Package | Description |
---|---|
net.sf.reportengine.core.calc |
Modifier and Type | Class and Description |
---|---|
class |
AvgCalcIntermResult<T> |
class |
FirstCalcIntermResult<T> |
Modifier and Type | Method and Description |
---|---|
DefaultCalcIntermResult<BigDecimal> |
SumGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
adds the new value to the previous intermediate result by converting it to BigDecimal.
|
DefaultCalcIntermResult<BigDecimal> |
MinGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
compares the previous result with the new value and returns the minimum
|
DefaultCalcIntermResult<BigDecimal> |
MaxGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
checks whether the new value is lower than the previous result
|
DefaultCalcIntermResult<Integer> |
CountGroupCalculator.compute(DefaultCalcIntermResult<Integer> intermResult,
Object newValue)
increases the count
|
DefaultCalcIntermResult<T> |
LastGroupCalculator.compute(DefaultCalcIntermResult<T> intermResult,
T newValue)
stores the last value passes to this method as @param newValue
|
DefaultCalcIntermResult<BigDecimal> |
SumGroupCalculator.init()
initializes with zero the intermediate result ( to start the sum computation)
|
DefaultCalcIntermResult<BigDecimal> |
MinGroupCalculator.init()
returns a BigDecimal having Double.MAX_VALUE value
|
DefaultCalcIntermResult<BigDecimal> |
MaxGroupCalculator.init()
returns a BigDecimal based on Double.MIN_VALUE
|
DefaultCalcIntermResult<T> |
LastGroupCalculator.init()
returns an empty intermediate calculator result ( empty means that it contains a null value)
|
DefaultCalcIntermResult<Integer> |
CountGroupCalculator.init()
initializes the counter to zero
|
Modifier and Type | Method and Description |
---|---|
DefaultCalcIntermResult<BigDecimal> |
SumGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
adds the new value to the previous intermediate result by converting it to BigDecimal.
|
DefaultCalcIntermResult<BigDecimal> |
MinGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
compares the previous result with the new value and returns the minimum
|
DefaultCalcIntermResult<BigDecimal> |
MaxGroupCalculator.compute(DefaultCalcIntermResult<BigDecimal> intermResult,
Object newValue)
checks whether the new value is lower than the previous result
|
DefaultCalcIntermResult<Integer> |
CountGroupCalculator.compute(DefaultCalcIntermResult<Integer> intermResult,
Object newValue)
increases the count
|
DefaultCalcIntermResult<T> |
LastGroupCalculator.compute(DefaultCalcIntermResult<T> intermResult,
T newValue)
stores the last value passes to this method as @param newValue
|
Copyright © 2006–2015. All rights reserved.