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 theMath
functions. You can access this variable in your expressions by using themath
variable (ie.math.abs(-1)
).
-
-
Constructor Summary
Constructors Constructor Description MathBinding()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
abs(double a)
float
abs(float a)
int
abs(int a)
long
abs(long a)
double
acos(double a)
double
asin(double a)
double
atan(double a)
double
atan2(double a, double b)
double
cbrt(double a)
double
ceil(double a)
double
cos(double a)
double
cosh(double a)
double
exp(double a)
double
expm1(double a)
double
floor(double a)
double
hypot(double a, double b)
double
IEEEremainder(double a, double b)
double
log(double a)
double
log10(double a)
double
log1p(double a)
double
max(double a, double b)
float
max(float a, float b)
int
max(int a, int b)
long
max(long a, long b)
double
min(double a, double b)
float
min(float a, float b)
int
min(int a, int b)
long
min(long a, long b)
double
pow(double a, double b)
double
random()
double
rint(double a)
long
round(double a)
int
round(float a)
double
signum(double a)
float
signum(float a)
double
sin(double a)
double
sinh(double a)
double
sqrt(double a)
double
tan(double a)
double
tanh(double a)
double
toDegrees(double a)
double
toRadians(double a)
double
ulp(double a)
float
ulp(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)
-
-