Package org.eclipse.xtext.xbase.lib
Class DoubleExtensions
- java.lang.Object
-
- org.eclipse.xtext.xbase.lib.DoubleExtensions
-
@GwtCompatible public class DoubleExtensions extends java.lang.Object
This is an extension library forfloating point numbers
, e.g.double
orDouble
.- Since:
- 2.3
-
-
Constructor Summary
Constructors Constructor Description DoubleExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
operator_divide(double a, byte b)
The binarydivide
operator.static double
operator_divide(double a, char b)
The binarydivide
operator.static double
operator_divide(double a, double b)
The binarydivide
operator.static double
operator_divide(double a, float b)
The binarydivide
operator.static double
operator_divide(double a, int b)
The binarydivide
operator.static double
operator_divide(double a, long b)
The binarydivide
operator.static double
operator_divide(double a, short b)
The binarydivide
operator.static double
operator_divide(java.lang.Double a, java.lang.Number b)
The binarydivide
operator.static boolean
operator_equals(double a, byte b)
The binaryequals
operator.static boolean
operator_equals(double a, char b)
The binaryequals
operator.static boolean
operator_equals(double a, double b)
The binaryequals
operator.static boolean
operator_equals(double a, float b)
The binaryequals
operator.static boolean
operator_equals(double a, int b)
The binaryequals
operator.static boolean
operator_equals(double a, long b)
The binaryequals
operator.static boolean
operator_equals(double a, short b)
The binaryequals
operator.static boolean
operator_greaterEqualsThan(double a, byte b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, char b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, double b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, float b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, int b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, long b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(double a, short b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterThan(double a, byte b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, char b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, double b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, float b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, int b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, long b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(double a, short b)
The binarygreaterThan
operator.static boolean
operator_lessEqualsThan(double a, byte b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, char b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, double b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, float b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, int b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, long b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(double a, short b)
The binarylessEqualsThan
operator.static boolean
operator_lessThan(double a, byte b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, char b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, double b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, float b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, int b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, long b)
The binarylessThan
operator.static boolean
operator_lessThan(double a, short b)
The binarylessThan
operator.static double
operator_minus(double d)
The unaryminus
operator.static double
operator_minus(double a, byte b)
The binaryminus
operator.static double
operator_minus(double a, char b)
The binaryminus
operator.static double
operator_minus(double a, double b)
The binaryminus
operator.static double
operator_minus(double a, float b)
The binaryminus
operator.static double
operator_minus(double a, int b)
The binaryminus
operator.static double
operator_minus(double a, long b)
The binaryminus
operator.static double
operator_minus(double a, short b)
The binaryminus
operator.static double
operator_minus(java.lang.Double a)
The unaryminus
operator.static double
operator_minus(java.lang.Double a, java.lang.Number b)
The binaryminus
operator.static double
operator_minusMinus(double d)
The postfixdecrement
operator.static java.lang.Double
operator_minusMinus(java.lang.Double d)
The postfixdecrement
operator.static double
operator_modulo(double a, byte b)
The binarymodulo
operator.static double
operator_modulo(double a, char b)
The binarymodulo
operator.static double
operator_modulo(double a, double b)
The binarymodulo
operator.static double
operator_modulo(double a, float b)
The binarymodulo
operator.static double
operator_modulo(double a, int b)
The binarymodulo
operator.static double
operator_modulo(double a, long b)
The binarymodulo
operator.static double
operator_modulo(double a, short b)
The binarymodulo
operator.static double
operator_multiply(double a, byte b)
The binarymultiply
operator.static double
operator_multiply(double a, char b)
The binarymultiply
operator.static double
operator_multiply(double a, double b)
The binarymultiply
operator.static double
operator_multiply(double a, float b)
The binarymultiply
operator.static double
operator_multiply(double a, int b)
The binarymultiply
operator.static double
operator_multiply(double a, long b)
The binarymultiply
operator.static double
operator_multiply(double a, short b)
The binarymultiply
operator.static double
operator_multiply(java.lang.Double a, java.lang.Number b)
The binarytimes
operator.static boolean
operator_notEquals(double a, byte b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, char b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, double b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, float b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, int b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, long b)
The binarynotEquals
operator.static boolean
operator_notEquals(double a, short b)
The binarynotEquals
operator.static double
operator_plus(double a, byte b)
The binaryplus
operator.static double
operator_plus(double a, char b)
The binaryplus
operator.static double
operator_plus(double a, double b)
The binaryplus
operator.static double
operator_plus(double a, float b)
The binaryplus
operator.static double
operator_plus(double a, int b)
The binaryplus
operator.static double
operator_plus(double a, long b)
The binaryplus
operator.static double
operator_plus(double a, short b)
The binaryplus
operator.static double
operator_plus(java.lang.Double a, java.lang.Number b)
The binaryplus
operator.static double
operator_plusPlus(double d)
The postfixincrement
operator.static java.lang.Double
operator_plusPlus(java.lang.Double d)
The postfixincrement
operator.static double
operator_power(double a, byte b)
The binarypower
operator.static double
operator_power(double a, char b)
The binarypower
operator.static double
operator_power(double a, double b)
The binarypower
operator.static double
operator_power(double a, float b)
The binarypower
operator.static double
operator_power(double a, int b)
The binarypower
operator.static double
operator_power(double a, long b)
The binarypower
operator.static double
operator_power(double a, short b)
The binarypower
operator.static double
operator_power(java.lang.Double a, java.lang.Number b)
Thepower
operator.static boolean
operator_tripleEquals(double a, byte b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, char b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, double b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, float b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, int b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, long b)
Theidentity equals
operator.static boolean
operator_tripleEquals(double a, short b)
Theidentity equals
operator.static boolean
operator_tripleNotEquals(double a, byte b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, char b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, double b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, float b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, int b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, long b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(double a, short b)
Theidentity not equals
operator.
-
-
-
Method Detail
-
operator_minus
@Pure public static double operator_minus(java.lang.Double a)
The unaryminus
operator. This is the equivalent to the unary java-
operator.- Parameters:
a
- a double. May not benull
.- Returns:
-a
- Throws:
java.lang.NullPointerException
- ifa
isnull
.
-
operator_plus
@Pure public static double operator_plus(java.lang.Double a, java.lang.Number b)
The binaryplus
operator. This is the equivalent to the java+
operator.- Parameters:
a
- a double. May not benull
.b
- a number. May not benull
.- Returns:
a+b
- Throws:
java.lang.NullPointerException
- ifa
orb
isnull
.
-
operator_minus
@Pure public static double operator_minus(java.lang.Double a, java.lang.Number b)
The binaryminus
operator. This is the equivalent to the java-
operator.- Parameters:
a
- a double. May not benull
.b
- a number. May not benull
.- Returns:
a-b
- Throws:
java.lang.NullPointerException
- ifa
orb
isnull
.
-
operator_power
@Pure public static double operator_power(java.lang.Double a, java.lang.Number b)
Thepower
operator.- Parameters:
a
- a double. May not benull
.b
- a number. May not benull
.- Returns:
a ** b
- Throws:
java.lang.NullPointerException
- ifa
orb
isnull
.
-
operator_multiply
public static double operator_multiply(java.lang.Double a, java.lang.Number b)
The binarytimes
operator. This is the equivalent to the java*
operator.- Parameters:
a
- a double. May not benull
.b
- a number. May not benull
.- Returns:
a*b
- Throws:
java.lang.NullPointerException
- ifa
orb
isnull
.
-
operator_divide
@Pure public static double operator_divide(java.lang.Double a, java.lang.Number b)
The binarydivide
operator. This is the equivalent to the java/
operator. That is, the result will be the integral result of the division, e.g.operator_divide(1, 2)
yields0
.- Parameters:
a
- a double. May not benull
.b
- a number. May not benull
.- Returns:
a/b
- Throws:
java.lang.NullPointerException
- ifa
orb
isnull
.
-
operator_minus
@Pure public static double operator_minus(double d)
The unaryminus
operator. This is the equivalent to the Java's-
function.- Parameters:
d
- a double.- Returns:
-d
- Since:
- 2.3
-
operator_minusMinus
public static double operator_minusMinus(double d)
The postfixdecrement
operator. This is the equivalent to the Java's--
postfix function.- Parameters:
d
- a double.- Returns:
d--
- Since:
- 2.6
-
operator_minusMinus
public static java.lang.Double operator_minusMinus(java.lang.Double d)
The postfixdecrement
operator. This is the equivalent to the Java's--
postfix function.- Parameters:
d
- a double.- Returns:
d--
- Since:
- 2.6
-
operator_plusPlus
public static double operator_plusPlus(double d)
The postfixincrement
operator. This is the equivalent to the Java's++
postfix function.- Parameters:
d
- a double.- Returns:
d++
- Since:
- 2.6
-
operator_plusPlus
public static java.lang.Double operator_plusPlus(java.lang.Double d)
The postfixincrement
operator. This is the equivalent to the Java's++
postfix function.- Parameters:
d
- a double.- Returns:
d++
- Since:
- 2.6
-
operator_plus
@Pure public static double operator_plus(double a, double b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, double b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, double b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, double b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, double b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, double b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, double b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, double b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, double b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, double b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, double b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, double b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a double.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, double b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, double b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a double.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, float b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, float b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, float b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, float b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, float b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, float b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, float b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, float b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, float b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, float b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, float b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, float b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a float.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, float b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, float b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a float.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, long b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, long b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, long b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, long b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, long b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, long b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, long b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, long b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, long b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, long b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, long b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, long b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a long.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, long b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, long b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a long.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, int b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, int b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, int b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, int b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, int b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, int b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, int b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, int b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, int b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, int b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, int b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, int b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- an integer.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, int b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, int b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- an integer.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, char b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, char b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, char b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, char b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, char b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, char b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, char b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, char b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, char b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, char b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, char b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, char b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a character.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, char b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, char b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a character.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, short b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, short b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, short b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, short b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, short b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, short b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, short b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, short b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, short b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, short b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, short b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, short b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a short.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, short b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, short b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a short.- Returns:
a != b
- Since:
- 2.4
-
operator_plus
@Pure public static double operator_plus(double a, byte b)
The binaryplus
operator. This is the equivalent to the Java+
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a+b
- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(double a, byte b)
The binaryminus
operator. This is the equivalent to the Java-
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a-b
- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(double a, byte b)
The binarymultiply
operator. This is the equivalent to the Java*
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a*b
- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(double a, byte b)
The binarydivide
operator. This is the equivalent to the Java/
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a/b
- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(double a, byte b)
The binarymodulo
operator. This is the equivalent to the Java%
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a%b
- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(double a, byte b)
The binarylessThan
operator. This is the equivalent to the Java<
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a<b
- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(double a, byte b)
The binarylessEqualsThan
operator. This is the equivalent to the Java<=
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a<=b
- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(double a, byte b)
The binarygreaterThan
operator. This is the equivalent to the Java>
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a>b
- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(double a, byte b)
The binarygreaterEqualsThan
operator. This is the equivalent to the Java>=
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a>=b
- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(double a, byte b)
The binaryequals
operator. This is the equivalent to the Java==
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a==b
- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(double a, byte b)
The binarynotEquals
operator. This is the equivalent to the Java!=
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a!=b
- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(double a, byte b)
The binarypower
operator. This is the equivalent to the Java'sMath.pow()
function.- Parameters:
a
- a double.b
- a byte.- Returns:
Math.pow(a, b)
- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(double a, byte b)
Theidentity equals
operator. This is the equivalent to Java's==
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a == b
- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(double a, byte b)
Theidentity not equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a double.b
- a byte.- Returns:
a != b
- Since:
- 2.4
-
-