public class SummationSummaryProvider extends Object implements ISummaryProvider
DEFAULT, DEFAULT_SUMMARY_VALUE, NONE
Constructor and Description |
---|
SummationSummaryProvider(IDataProvider dataProvider) |
SummationSummaryProvider(IDataProvider dataProvider,
boolean strict) |
public SummationSummaryProvider(IDataProvider dataProvider)
public SummationSummaryProvider(IDataProvider dataProvider, boolean strict)
strict
- If strict is true and one or more of the values in the
column is not a number, then DEFAULT_SUMMARY_VALUE is returned. If
strict is false, this method will return the sum of all the
values in the column that are numbers, ignoring the non-numeric values.public Object summarize(int columnIndex)
summarize
in interface ISummaryProvider
columnIndex
- for which the summary is requiredCopyright © 2013. All Rights Reserved.