Revision 1848 org.gvsig.legend.aggregate/trunk/org.gvsig.legend.aggregate/org.gvsig.legend.aggregate.lib/org.gvsig.legend.aggregate.lib.impl/src/main/java/org/gvsig/legend/aggregate/lib/impl/operation/SumOperation.java
SumOperation.java | ||
---|---|---|
3 | 3 |
import java.text.MessageFormat; |
4 | 4 |
import org.apache.commons.lang3.StringUtils; |
5 | 5 |
import org.gvsig.fmap.dal.feature.Feature; |
6 |
import org.gvsig.legend.aggregate.lib.api.AbstractOperation;
|
|
6 |
import org.gvsig.legend.aggregate.lib.spi.AbstractOperation;
|
|
7 | 7 |
|
8 | 8 |
|
9 | 9 |
public class SumOperation extends AbstractOperation { |
10 | 10 |
int sum = 0; |
11 | 11 |
|
12 | 12 |
public SumOperation() { |
13 |
super("_Sum", "_Calculate_the_sum_of_the_selected_attribute_for_the_grouped_features");
|
|
13 |
super("Sum", "_Calculate_the_sum_of_the_selected_attribute_for_the_grouped_features"); |
|
14 | 14 |
|
15 | 15 |
} |
16 | 16 |
|
Also available in: Unified diff