org.jboss.dashboard.function
Class AbstractFunction
java.lang.Object
org.jboss.dashboard.function.AbstractFunction
- All Implemented Interfaces:
- ScalarFunction
public abstract class AbstractFunction
- extends Object
- implements ScalarFunction
Base class for the implementation of scalar functions.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
precission
protected int precission
AbstractFunction
public AbstractFunction()
getName
public String getName(Locale l)
- Specified by:
getName in interface ScalarFunction
getDescription
public String getDescription(Locale l)
- Specified by:
getDescription in interface ScalarFunction
isTypeSupported
public boolean isTypeSupported(Class type)
- Specified by:
isTypeSupported in interface ScalarFunction
round
public double round(double value,
int precission)
Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.