package net.sf.jasperreports.engine.fill;

import net.sf.jasperreports.engine.JRException;

public abstract class JRAbstractExtendedIncrementer implements JRExtendedIncrementer {
  public Object increment(JRFillVariable variable, Object expressionValue, AbstractValueProvider valueProvider) throws JRException {
    return increment(variable, expressionValue, valueProvider);
  }
  
  public Object combine(JRCalculable calculable, JRCalculable calculableValue, AbstractValueProvider valueProvider) throws JRException {
    return increment(calculable, calculableValue.getValue(), valueProvider);
  }
}
