| java.lang.Object org.griphyn.cPlanner.namespace.aggregator.Abstract org.griphyn.cPlanner.namespace.aggregator.MAX
MAX | public class MAX extends Abstract (Code) | | An implementation of the Aggregator interface that takes the maximum of 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) Returns the maximum of two 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) | | Returns the maximum of two 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. |
|
|