public interface StatisticExpression
StatisticsSet.StatisticExpressionFactoryImplementation| Modifier and Type | Method and Description |
|---|---|
double |
getDoubleValue(StatisticsSet statisticsSet)
|
long |
getLongValue(StatisticsSet statisticsSet)
Apply this
StatisticExpression to the given StatisticsSet and return the result as a long,
rounding as necessary. |
boolean |
isDouble()
Returns
true if the type of this StatisticExpression is non integral. |
double getDoubleValue(StatisticsSet statisticsSet)
statisticsSet - A StatisticsSet value.long getLongValue(StatisticsSet statisticsSet)
StatisticExpression to the given StatisticsSet and return the result as a long,
rounding as necessary.statisticsSet - A StatisticsSet value.boolean isDouble()
true if the type of this StatisticExpression is non integral. Callers might use this to
decide which accessor to call to ensure that information is not
lost, or how to format the result.boolean valueCopyright © 2000-2014. All Rights Reserved.