public class AverageFunction extends SumFunction
Modifier and Type | Field and Description |
---|---|
static String |
CODE
The code of the function.
|
localeManager, precission
Constructor and Description |
---|
AverageFunction() |
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
double |
scalar(Collection values) |
isTypeSupported
getDescription, getName, round
public static final String CODE
public String getCode()
getCode
in interface ScalarFunction
getCode
in class SumFunction
public double scalar(Collection values)
scalar
in interface ScalarFunction
scalar
in class SumFunction
Copyright © 2012-2014 JBoss by Red Hat. All Rights Reserved.