22 lines
669 B
Java
22 lines
669 B
Java
package net.sf.jasperreports.engine.fill;
|
|
|
|
class JRDefaultSystemIncrementer extends JRAbstractExtendedIncrementer {
|
|
private static JRDefaultSystemIncrementer mainInstance = new JRDefaultSystemIncrementer();
|
|
|
|
public static JRDefaultSystemIncrementer getInstance() {
|
|
return mainInstance;
|
|
}
|
|
|
|
public Object increment(JRCalculable variable, Object expressionValue, AbstractValueProvider valueProvider) {
|
|
return variable.getValue();
|
|
}
|
|
|
|
public Object combine(JRCalculable calculable, JRCalculable calculableValue, AbstractValueProvider valueProvider) {
|
|
return calculable.getValue();
|
|
}
|
|
|
|
public Object initialValue() {
|
|
return null;
|
|
}
|
|
}
|