| java.lang.Object org.griphyn.cPlanner.namespace.aggregator.Abstract org.griphyn.cPlanner.namespace.aggregator.Sum
Sum | public class Sum extends Abstract (Code) | | An implementation of the Aggregator interface that sums the profile values.
In the case of either of the profile values not valid integers, the
default value is picked up.
author: Karan Vahi version: $Revision: 50 $ |
Method Summary | |
public String | compute(String oldValue, String newValue, String dflt) Sums up the values.
Parameters: oldValue - the existing value for the profile. Parameters: newValue - the new value being added to the profile. Parameters: dflt - the default value to be used in case the valuesare not of the correct type. |
compute | public String compute(String oldValue, String newValue, String dflt)(Code) | | Sums up the values.
Parameters: oldValue - the existing value for the profile. Parameters: newValue - the new value being added to the profile. Parameters: dflt - the default value to be used in case the valuesare not of the correct type. the computed value as a String. |
|
|