Package org.opennms.netmgt.threshd
Class ExpressionConfigWrapper.MathBinding
- java.lang.Object
-
- org.opennms.netmgt.threshd.ExpressionConfigWrapper.MathBinding
-
- Enclosing class:
- ExpressionConfigWrapper
public static class ExpressionConfigWrapper.MathBinding extends Object
This class provides an instance that gives access to theMathfunctions. You can access this variable in your expressions by using themathvariable (ie.math.abs(-1)).
-
-
Constructor Summary
Constructors Constructor Description MathBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleabs(double a)floatabs(float a)intabs(int a)longabs(long a)doubleacos(double a)doubleasin(double a)doubleatan(double a)doubleatan2(double a, double b)doublecbrt(double a)doubleceil(double a)doublecos(double a)doublecosh(double a)doubleexp(double a)doubleexpm1(double a)doublefloor(double a)doublehypot(double a, double b)doubleIEEEremainder(double a, double b)doublelog(double a)doublelog10(double a)doublelog1p(double a)doublemax(double a, double b)floatmax(float a, float b)intmax(int a, int b)longmax(long a, long b)doublemin(double a, double b)floatmin(float a, float b)intmin(int a, int b)longmin(long a, long b)doublepow(double a, double b)doublerandom()doublerint(double a)longround(double a)intround(float a)doublesignum(double a)floatsignum(float a)doublesin(double a)doublesinh(double a)doublesqrt(double a)doubletan(double a)doubletanh(double a)doubletoDegrees(double a)doubletoRadians(double a)doubleulp(double a)floatulp(float a)
-
-
-
Method Detail
-
abs
public double abs(double a)
-
abs
public float abs(float a)
-
abs
public int abs(int a)
-
abs
public long abs(long a)
-
acos
public double acos(double a)
-
asin
public double asin(double a)
-
atan
public double atan(double a)
-
atan2
public double atan2(double a, double b)
-
cbrt
public double cbrt(double a)
-
ceil
public double ceil(double a)
-
cos
public double cos(double a)
-
cosh
public double cosh(double a)
-
exp
public double exp(double a)
-
expm1
public double expm1(double a)
-
floor
public double floor(double a)
-
hypot
public double hypot(double a, double b)
-
IEEEremainder
public double IEEEremainder(double a, double b)
-
log
public double log(double a)
-
log10
public double log10(double a)
-
log1p
public double log1p(double a)
-
max
public double max(double a, double b)
-
max
public float max(float a, float b)
-
max
public int max(int a, int b)
-
max
public long max(long a, long b)
-
min
public double min(double a, double b)
-
min
public float min(float a, float b)
-
min
public int min(int a, int b)
-
min
public long min(long a, long b)
-
pow
public double pow(double a, double b)
-
random
public double random()
-
rint
public double rint(double a)
-
round
public long round(double a)
-
round
public int round(float a)
-
signum
public double signum(double a)
-
signum
public float signum(float a)
-
sin
public double sin(double a)
-
sinh
public double sinh(double a)
-
sqrt
public double sqrt(double a)
-
tan
public double tan(double a)
-
tanh
public double tanh(double a)
-
toDegrees
public double toDegrees(double a)
-
toRadians
public double toRadians(double a)
-
ulp
public double ulp(double a)
-
ulp
public float ulp(float a)
-
-