| Constructor and Description |
|---|
MathBindings() |
public static IntegerBinding abs(ObservableIntegerValue a)
Binding for Math.abs(int)
a - the argument whose absolute value is to be determinedpublic static DoubleBinding abs(ObservableDoubleValue a)
Binding for Math.abs(double)
a - the argument whose absolute value is to be determinedpublic static LongBinding abs(ObservableLongValue a)
Binding for Math.abs(long)
a - the argument whose absolute value is to be determined as observableValuepublic static FloatBinding abs(ObservableFloatValue a)
Binding for Math.abs(float)
a - the argument whose absolute value is to be determined as observableValuepublic static IntegerBinding addExact(ObservableIntegerValue x, ObservableIntegerValue y)
Binding for Math.addExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static IntegerBinding addExact(int x, ObservableIntegerValue y)
Binding for Math.addExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static IntegerBinding addExact(ObservableIntegerValue x, int y)
Binding for Math.addExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static LongBinding addExact(ObservableLongValue x, ObservableLongValue y)
Binding for Math.addExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static LongBinding addExact(long x, ObservableLongValue y)
Binding for Math.addExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static LongBinding addExact(ObservableLongValue x, long y)
Binding for Math.addExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static DoubleBinding acos(ObservableDoubleValue a)
Binding for Math.acos(double)
a - the value whose arc cosine is to be returned.public static DoubleBinding asin(ObservableDoubleValue a)
Binding for Math.asin(double)
a - the value whose arc sine is to be returned.public static DoubleBinding atan(ObservableDoubleValue a)
Binding for Math.atan(double)
a - the value whose arc tangent is to be returned.public static DoubleBinding atan2(ObservableDoubleValue y, ObservableDoubleValue x)
Binding for Math.atan2(double, double)
y - the ordinate coordinatex - the abscissa coordinatepublic static DoubleBinding atan2(double y, ObservableDoubleValue x)
Binding for Math.atan2(double, double)
y - the ordinate coordinatex - the abscissa coordinatepublic static DoubleBinding atan2(ObservableDoubleValue y, double x)
Binding for Math.atan2(double, double)
y - the ordinate coordinatex - the abscissa coordinatepublic static DoubleBinding cbrt(ObservableDoubleValue a)
Binding for Math.cbrt(double)
a - a value.a.public static DoubleBinding ceil(ObservableDoubleValue a)
Binding for Math.ceil(double)
a - a value.public static DoubleBinding copySign(ObservableDoubleValue magnitude, ObservableDoubleValue sign)
Binding for Math.copySign(double, double)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static DoubleBinding copySign(double magnitude, ObservableDoubleValue sign)
Binding for Math.copySign(double, double)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static DoubleBinding copySign(ObservableDoubleValue magnitude, double sign)
Binding for Math.copySign(double, double)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static FloatBinding copySign(ObservableFloatValue magnitude, ObservableFloatValue sign)
Binding for Math.copySign(float, float)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static FloatBinding copySign(float magnitude, ObservableFloatValue sign)
Binding for Math.copySign(float, float)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static FloatBinding copySign(ObservableFloatValue magnitude, float sign)
Binding for Math.copySign(float, float)
magnitude - the parameter providing the magnitude of the resultsign - the parameter providing the sign of the resultmagnitude and the sign of sign.public static DoubleBinding cos(ObservableDoubleValue a)
Binding for Math.cos(double)
a - an angle, in radians.public static DoubleBinding cosh(ObservableDoubleValue x)
Binding for Math.cosh(double)
x - The number whose hyperbolic cosine is to be returned.x.public static IntegerBinding decrementExact(ObservableIntegerValue a)
Binding for Math.decrementExact(int)
a - the value to decrementArithmeticException - if the result overflows an intpublic static LongBinding decrementExact(ObservableLongValue a)
Binding for Math.decrementExact(long)
a - the value to decrementArithmeticException - if the result overflows a longpublic static DoubleBinding exp(ObservableDoubleValue a)
Binding for Math.exp(double)
a - the exponent to raise e to.a, where e is the base of the natural logarithms.public static DoubleBinding expm1(ObservableDoubleValue x)
Binding for Math.expm1(double)
x - the exponent to raise e to in the computation of ex -1.x - 1.public static DoubleBinding floor(ObservableDoubleValue a)
Binding for Math.floor(double)
a - a value.public static IntegerBinding floorDiv(ObservableIntegerValue x, ObservableIntegerValue y)
Binding for Math.floorDiv(int, int)
x - the dividendy - the divisorint value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static IntegerBinding floorDiv(int x, ObservableIntegerValue y)
Binding for Math.floorDiv(int, int)
x - the dividendy - the divisorint value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static IntegerBinding floorDiv(ObservableIntegerValue x, int y)
Binding for Math.floorDiv(int, int)
x - the dividendy - the divisorint value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static LongBinding floorDiv(ObservableLongValue x, ObservableLongValue y)
Binding for Math.floorDiv(long, long)
x - the dividendy - the divisorlong value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static LongBinding floorDiv(long x, ObservableLongValue y)
Binding for Math.floorDiv(long, long)
x - the dividendy - the divisorlong value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static LongBinding floorDiv(ObservableLongValue x, long y)
Binding for Math.floorDiv(long, long)
x - the dividendy - the divisorlong value that is less than or equal to the algebraic quotient.ArithmeticException - if the divisor y is zeropublic static IntegerBinding floorMod(ObservableIntegerValue x, ObservableIntegerValue y)
Binding for Math.floorMod(int, int)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static IntegerBinding floorMod(int x, ObservableIntegerValue y)
Binding for Math.floorMod(int, int)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static IntegerBinding floorMod(ObservableIntegerValue x, int y)
Binding for Math.floorMod(int, int)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static LongBinding floorMod(ObservableLongValue x, ObservableLongValue y)
Binding for Math.floorMod(long, long)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static LongBinding floorMod(long x, ObservableLongValue y)
Binding for Math.floorMod(long, long)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static LongBinding floorMod(ObservableLongValue x, long y)
Binding for Math.floorMod(long, long)
x - the dividendy - the divisorx - (floorDiv(x, y) * y)ArithmeticException - if the divisor y is zeropublic static IntegerBinding getExponent(ObservableDoubleValue d)
Binding for Math.getExponent(double)
d - a double valuepublic static IntegerBinding getExponent(ObservableFloatValue f)
Binding for Math.getExponent(float)
f - a float valuepublic static DoubleBinding hypot(ObservableDoubleValue x, ObservableDoubleValue y)
Binding for Math.hypot(double, double)
x - a valuey - a valuepublic static DoubleBinding hypot(double x, ObservableDoubleValue y)
Binding for Math.hypot(double, double)
x - a valuey - a valuepublic static DoubleBinding hypot(ObservableDoubleValue x, double y)
Binding for Math.hypot(double, double)
x - a valuey - a valuepublic static DoubleBinding IEEEremainder(ObservableDoubleValue f1, ObservableDoubleValue f2)
Binding for Math.IEEEremainder(double, double)
f1 - the dividend.f2 - the divisor.f1 is divided by f2.public static DoubleBinding IEEEremainder(double f1, ObservableDoubleValue f2)
Binding for Math.IEEEremainder(double, double)
f1 - the dividend.f2 - the divisor.f1 is divided by f2.public static DoubleBinding IEEEremainder(ObservableDoubleValue f1, double f2)
Binding for Math.IEEEremainder(double, double)
f1 - the dividend.f2 - the divisor.f1 is divided by f2.public static IntegerBinding incrementExact(ObservableIntegerValue a)
Binding for Math.incrementExact(int)
a - the value to incrementArithmeticException - if the result overflows an intpublic static LongBinding incrementExact(ObservableLongValue a)
Binding for Math.incrementExact(long)
a - the value to incrementArithmeticException - if the result overflows a longpublic static DoubleBinding log(ObservableDoubleValue a)
Binding for Math.log(double)
a - a valuea, the natural logarithm of a.public static DoubleBinding log10(ObservableDoubleValue a)
Binding for Math.log10(double)
a - a valuea.public static DoubleBinding log1p(ObservableDoubleValue x)
Binding for Math.log1p(double)
x - a valuex + 1), the natural log of x + 1public static DoubleBinding max(ObservableDoubleValue a, ObservableDoubleValue b)
Binding for Math.max(double, double)
a - an argument.b - another argument.a and b.public static DoubleBinding max(double a, ObservableDoubleValue b)
Binding for Math.max(double, double)
a - an argument.b - another argument.a and b.public static DoubleBinding max(ObservableDoubleValue a, double b)
Binding for Math.max(double, double)
a - an argument.b - another argument.a and b.public static FloatBinding max(ObservableFloatValue a, ObservableFloatValue b)
Binding for Math.max(float, float)
a - an argument.b - another argument.a and b.public static FloatBinding max(float a, ObservableFloatValue b)
Binding for Math.max(float, float)
a - an argument.b - another argument.a and b.public static FloatBinding max(ObservableFloatValue a, float b)
Binding for Math.max(float, float)
a - an argument.b - another argument.a and b.public static IntegerBinding max(ObservableIntegerValue a, ObservableIntegerValue b)
Binding for Math.max(int, int)
a - an argument.b - another argument.a and b.public static IntegerBinding max(int a, ObservableIntegerValue b)
Binding for Math.max(int, int)
a - an argument.b - another argument.a and b.public static IntegerBinding max(ObservableIntegerValue a, int b)
Binding for Math.max(int, int)
a - an argument.b - another argument.a and b.public static LongBinding max(ObservableLongValue a, ObservableLongValue b)
Binding for Math.max(long, long)
a - an argument.b - another argument.a and b.public static LongBinding max(long a, ObservableLongValue b)
Binding for Math.max(long, long)
a - an argument.b - another argument.a and b.public static LongBinding max(ObservableLongValue a, long b)
Binding for Math.max(long, long)
a - an argument.b - another argument.a and b.public static DoubleBinding min(ObservableDoubleValue a, ObservableDoubleValue b)
Binding for Math.min(double, double)
a - an argument.b - another argument.a and b.public static DoubleBinding min(double a, ObservableDoubleValue b)
Binding for Math.min(double, double)
a - an argument.b - another argument.a and b.public static DoubleBinding min(ObservableDoubleValue a, double b)
Binding for Math.min(double, double)
a - an argument.b - another argument.a and b.public static FloatBinding min(ObservableFloatValue a, ObservableFloatValue b)
Binding for Math.min(float, float)
a - an argument.b - another argument.a and b.public static FloatBinding min(float a, ObservableFloatValue b)
Binding for Math.min(float, float)
a - an argument.b - another argument.a and b.public static FloatBinding min(ObservableFloatValue a, float b)
Binding for Math.min(float, float)
a - an argument.b - another argument.a and b.public static IntegerBinding min(ObservableIntegerValue a, ObservableIntegerValue b)
Binding for Math.min(int, int)
a - an argument.b - another argument.a and b.public static IntegerBinding min(int a, ObservableIntegerValue b)
Binding for Math.min(int, int)
a - an argument.b - another argument.a and b.public static IntegerBinding min(ObservableIntegerValue a, int b)
Binding for Math.min(int, int)
a - an argument.b - another argument.a and b.public static LongBinding min(ObservableLongValue a, ObservableLongValue b)
Binding for Math.min(long, long)
a - an argument.b - another argument.a and b.public static LongBinding min(long a, ObservableLongValue b)
Binding for Math.min(long, long)
a - an argument.b - another argument.a and b.public static LongBinding min(ObservableLongValue a, long b)
Binding for Math.min(long, long)
a - an argument.b - another argument.a and b.public static IntegerBinding multiplyExact(ObservableIntegerValue x, ObservableIntegerValue y)
Binding for Math.multiplyExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static IntegerBinding multiplyExact(int x, ObservableIntegerValue y)
Binding for Math.multiplyExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static IntegerBinding multiplyExact(ObservableIntegerValue x, int y)
Binding for Math.multiplyExact(int, int)
x - the first valuey - the second valueArithmeticException - if the result overflows an intpublic static LongBinding multiplyExact(ObservableLongValue x, ObservableLongValue y)
Binding for Math.multiplyExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static LongBinding multiplyExact(long x, ObservableLongValue y)
Binding for Math.multiplyExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static LongBinding multiplyExact(ObservableLongValue x, long y)
Binding for Math.multiplyExact(long, long)
x - the first valuey - the second valueArithmeticException - if the result overflows a longpublic static IntegerBinding negateExact(ObservableIntegerValue a)
Binding for Math.negateExact(int)
a - the value to negateArithmeticException - if the result overflows an intpublic static LongBinding negateExact(ObservableLongValue a)
Binding for Math.negateExact(long)
a - the value to negateArithmeticException - if the result overflows a longpublic static DoubleBinding nextAfter(ObservableDoubleValue start, ObservableDoubleValue direction)
Binding for Math.nextAfter(double, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static DoubleBinding nextAfter(double start, ObservableDoubleValue direction)
Binding for Math.nextAfter(double, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static DoubleBinding nextAfter(ObservableDoubleValue start, double direction)
Binding for Math.nextAfter(double, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static FloatBinding nextAfter(ObservableFloatValue start, ObservableFloatValue direction)
Binding for Math.nextAfter(float, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static FloatBinding nextAfter(float start, ObservableFloatValue direction)
Binding for Math.nextAfter(float, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static FloatBinding nextAfter(ObservableFloatValue start, float direction)
Binding for Math.nextAfter(float, double)
start - starting floating-point valuedirection - value indicating which of start’s neighbors or start should be returnedstart in the direction of direction.public static DoubleBinding nextDown(ObservableDoubleValue d)
Binding for Math.nextDown(double)
d - starting floating-point valuepublic static FloatBinding nextDown(ObservableFloatValue f)
Binding for Math.nextDown(float)
f - starting floating-point valuepublic static DoubleBinding nextUp(ObservableDoubleValue d)
Binding for Math.nextUp(double)
d - starting floating-point valuepublic static FloatBinding nextUp(ObservableFloatValue f)
Binding for Math.nextUp(float)
f - starting floating-point valuepublic static DoubleBinding pow(ObservableDoubleValue a, ObservableDoubleValue b)
Binding for Math.pow(double, double)
a - the base.b - the exponent.ab.public static DoubleBinding pow(double a, ObservableDoubleValue b)
Binding for Math.pow(double, double)
a - the base.b - the exponent.ab.public static DoubleBinding pow(ObservableDoubleValue a, double b)
Binding for Math.pow(double, double)
a - the base.b - the exponent.ab.public static DoubleBinding rint(ObservableDoubleValue a)
Binding for Math.rint(double)
a - a double value.a that is equal to a mathematical integer.public static LongBinding round(ObservableDoubleValue a)
Binding for Math.round(double)
a - a floating-point value to be rounded to a long.long value.public static IntegerBinding round(ObservableFloatValue a)
Binding for Math.round(float)
a - a floating-point value to be rounded to an integer.int value.public static DoubleBinding scalb(ObservableDoubleValue d, ObservableIntegerValue scaleFactor)
Binding for Math.scalb(double, int)
d - number to be scaled by a power of two.scaleFactor - power of 2 used to scale dd × 2scaleFactorpublic static DoubleBinding scalb(double d, ObservableIntegerValue scaleFactor)
Binding for Math.scalb(double, int)
d - number to be scaled by a power of two.scaleFactor - power of 2 used to scale dd × 2scaleFactorpublic static DoubleBinding scalb(ObservableDoubleValue d, int scaleFactor)
Binding for Math.scalb(double, int)
d - number to be scaled by a power of two.scaleFactor - power of 2 used to scale dd × 2scaleFactorpublic static FloatBinding scalb(ObservableFloatValue f, ObservableIntegerValue scaleFactor)
Binding for Math.scalb(float, int)
f - number to be scaled by a power of two.scaleFactor - power of 2 used to scale ff × 2scaleFactorpublic static FloatBinding scalb(float f, ObservableIntegerValue scaleFactor)
Binding for Math.scalb(float, int)
f - number to be scaled by a power of two.scaleFactor - power of 2 used to scale ff × 2scaleFactorpublic static FloatBinding scalb(ObservableFloatValue f, int scaleFactor)
Binding for Math.scalb(float, int)
f - number to be scaled by a power of two.scaleFactor - power of 2 used to scale ff × 2scaleFactorpublic static DoubleBinding signum(ObservableDoubleValue d)
Binding for Math.signum(double)
d - the floating-point value whose signum is to be returnedpublic static FloatBinding signum(ObservableFloatValue f)
Binding for Math.signum(float)
f - the floating-point value whose signum is to be returnedpublic static DoubleBinding sin(ObservableDoubleValue a)
Binding for Math.sin(double)
a - an angle, in radians.public static DoubleBinding sinh(ObservableDoubleValue x)
Binding for Math.sinh(double)
x - The number whose hyperbolic sine is to be returned.x.public static DoubleBinding sqrt(ObservableDoubleValue a)
Binding for Math.sqrt(double)
a - a value.a. If the argument is NaN or less than zero, the result is NaN.public static IntegerBinding subtractExact(ObservableIntegerValue x, ObservableIntegerValue y)
Binding for Math.subtractExact(int, int)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows an intpublic static IntegerBinding subtractExact(int x, ObservableIntegerValue y)
Binding for Math.subtractExact(int, int)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows an intpublic static IntegerBinding subtractExact(ObservableIntegerValue x, int y)
Binding for Math.subtractExact(int, int)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows an intpublic static LongBinding subtractExact(ObservableLongValue x, ObservableLongValue y)
Binding for Math.subtractExact(long, long)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows a longpublic static LongBinding subtractExact(long x, ObservableLongValue y)
Binding for Math.subtractExact(long, long)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows a longpublic static LongBinding subtractExact(ObservableLongValue x, long y)
Binding for Math.subtractExact(long, long)
x - the first valuey - the second value to subtract from the firstArithmeticException - if the result overflows a longpublic static DoubleBinding tan(ObservableDoubleValue a)
Binding for Math.tan(double)
a - an angle, in radians.public static DoubleBinding tanh(ObservableDoubleValue x)
Binding for Math.tanh(double)
x - The number whose hyperbolic tangent is to be returned.x.public static DoubleBinding toDegrees(ObservableDoubleValue angrad)
Binding for Math.toDegrees(double)
angrad - an angle, in radiansangrad in degrees.public static IntegerBinding toIntExact(ObservableLongValue value)
Binding for Math.toIntExact(long)
value - the long valueArithmeticException - if the argument overflows an intpublic static DoubleBinding toRadians(ObservableDoubleValue angdeg)
Binding for Math.toRadians(double)
angdeg - an angle, in degreesangdeg in radians.public static DoubleBinding ulp(ObservableDoubleValue d)
Binding for Math.ulp(double)
d - the floating-point value whose ulp is to be returnedpublic static FloatBinding ulp(ObservableFloatValue f)
Binding for Math.ulp(float)
f - the floating-point value whose ulp is to be returned