org.eclipse.xtext.xbase.lib
Class DoubleExtensions

java.lang.Object
  extended by org.eclipse.xtext.xbase.lib.DoubleExtensions

@GwtCompatible
public class DoubleExtensions
extends Object

This is an extension library for floating point numbers, e.g. double or Double.

Author:
Jan Koehnlein - Initial contribution and API

Constructor Summary
DoubleExtensions()
           
 
Method Summary
static double operator_divide(double a, byte b)
          The binary divide operator.
static double operator_divide(double a, char b)
          The binary divide operator.
static double operator_divide(double a, double b)
          The binary divide operator.
static double operator_divide(double a, float b)
          The binary divide operator.
static double operator_divide(double a, int b)
          The binary divide operator.
static double operator_divide(double a, long b)
          The binary divide operator.
static double operator_divide(Double a, Number b)
          The binary divide operator.
static double operator_divide(double a, short b)
          The binary divide operator.
static boolean operator_equals(double a, byte b)
          The binary equals operator.
static boolean operator_equals(double a, char b)
          The binary equals operator.
static boolean operator_equals(double a, double b)
          The binary equals operator.
static boolean operator_equals(double a, float b)
          The binary equals operator.
static boolean operator_equals(double a, int b)
          The binary equals operator.
static boolean operator_equals(double a, long b)
          The binary equals operator.
static boolean operator_equals(double a, short b)
          The binary equals operator.
static boolean operator_greaterEqualsThan(double a, byte b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, char b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, double b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, float b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, int b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, long b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(double a, short b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterThan(double a, byte b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, char b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, double b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, float b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, int b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, long b)
          The binary greaterThan operator.
static boolean operator_greaterThan(double a, short b)
          The binary greaterThan operator.
static boolean operator_lessEqualsThan(double a, byte b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, char b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, double b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, float b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, int b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, long b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(double a, short b)
          The binary lessEqualsThan operator.
static boolean operator_lessThan(double a, byte b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, char b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, double b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, float b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, int b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, long b)
          The binary lessThan operator.
static boolean operator_lessThan(double a, short b)
          The binary lessThan operator.
static double operator_minus(double a)
          The unary minus operator.
static double operator_minus(Double a)
          The unary minus operator.
static double operator_minus(double a, byte b)
          The binary minus operator.
static double operator_minus(double a, char b)
          The binary minus operator.
static double operator_minus(double a, double b)
          The binary minus operator.
static double operator_minus(double a, float b)
          The binary minus operator.
static double operator_minus(double a, int b)
          The binary minus operator.
static double operator_minus(double a, long b)
          The binary minus operator.
static double operator_minus(Double a, Number b)
          The binary minus operator.
static double operator_minus(double a, short b)
          The binary minus operator.
static double operator_modulo(double a, byte b)
          The binary modulo operator.
static double operator_modulo(double a, char b)
          The binary modulo operator.
static double operator_modulo(double a, double b)
          The binary modulo operator.
static double operator_modulo(double a, float b)
          The binary modulo operator.
static double operator_modulo(double a, int b)
          The binary modulo operator.
static double operator_modulo(double a, long b)
          The binary modulo operator.
static double operator_modulo(double a, short b)
          The binary modulo operator.
static double operator_multiply(double a, byte b)
          The binary multiply operator.
static double operator_multiply(double a, char b)
          The binary multiply operator.
static double operator_multiply(double a, double b)
          The binary multiply operator.
static double operator_multiply(double a, float b)
          The binary multiply operator.
static double operator_multiply(double a, int b)
          The binary multiply operator.
static double operator_multiply(double a, long b)
          The binary multiply operator.
static double operator_multiply(Double a, Number b)
          The binary times operator.
static double operator_multiply(double a, short b)
          The binary multiply operator.
static boolean operator_notEquals(double a, byte b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, char b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, double b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, float b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, int b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, long b)
          The binary notEquals operator.
static boolean operator_notEquals(double a, short b)
          The binary notEquals operator.
static double operator_plus(double a, byte b)
          The binary plus operator.
static double operator_plus(double a, char b)
          The binary plus operator.
static double operator_plus(double a, double b)
          The binary plus operator.
static double operator_plus(double a, float b)
          The binary plus operator.
static double operator_plus(double a, int b)
          The binary plus operator.
static double operator_plus(double a, long b)
          The binary plus operator.
static double operator_plus(Double a, Number b)
          The binary plus operator.
static double operator_plus(double a, short b)
          The binary plus operator.
static double operator_power(double a, byte b)
          The binary power operator.
static double operator_power(double a, char b)
          The binary power operator.
static double operator_power(double a, double b)
          The binary power operator.
static double operator_power(double a, float b)
          The binary power operator.
static double operator_power(double a, int b)
          The binary power operator.
static double operator_power(double a, long b)
          The binary power operator.
static double operator_power(Double a, Number b)
          The power operator.
static double operator_power(double a, short b)
          The binary power operator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubleExtensions

public DoubleExtensions()
Method Detail

operator_minus

@Pure
public static double operator_minus(Double a)
The unary minus operator. This is the equivalent to the unary java - operator.

Parameters:
a - a double. May not be null.
Returns:
-a
Throws:
NullPointerException - if a is null.

operator_plus

@Pure
public static double operator_plus(Double a,
                                        Number b)
The binary plus operator. This is the equivalent to the java + operator.

Parameters:
a - a double. May not be null.
b - a number. May not be null.
Returns:
a+b
Throws:
NullPointerException - if a or b is null.

operator_minus

@Pure
public static double operator_minus(Double a,
                                         Number b)
The binary minus operator. This is the equivalent to the java - operator.

Parameters:
a - a double. May not be null.
b - a number. May not be null.
Returns:
a-b
Throws:
NullPointerException - if a or b is null.

operator_power

@Pure
public static double operator_power(Double a,
                                         Number b)
The power operator.

Parameters:
a - a double. May not be null.
b - a number. May not be null.
Returns:
a ** b
Throws:
NullPointerException - if a or b is null.

operator_multiply

public static double operator_multiply(Double a,
                                       Number b)
The binary times operator. This is the equivalent to the java * operator.

Parameters:
a - a double. May not be null.
b - a number. May not be null.
Returns:
a*b
Throws:
NullPointerException - if a or b is null.

operator_divide

@Pure
public static double operator_divide(Double a,
                                          Number b)
The binary divide 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) yields 0 .

Parameters:
a - a double. May not be null.
b - a number. May not be null.
Returns:
a/b
Throws:
NullPointerException - if a or b is null.

operator_minus

@Pure
public static double operator_minus(double a)
The unary minus operator. This is the equivalent to the Java's - function.

Parameters:
a - a double.
Returns:
-a
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        double b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a double.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        float b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a float.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        long b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a long.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        int b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - an integer.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        char b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a character.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        short b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a short.
Returns:
Math.pow(a, b)
Since:
2.3

operator_plus

@Pure
public static double operator_plus(double a,
                                        byte b)
The binary plus 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 binary minus 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 binary multiply 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 binary divide 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 binary modulo 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 binary lessThan 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 binary lessEqualsThan 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 binary greaterThan 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 binary greaterEqualsThan 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 binary equals 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 binary notEquals 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 binary power operator. This is the equivalent to the Java's Math.pow() function.

Parameters:
a - a double.
b - a byte.
Returns:
Math.pow(a, b)
Since:
2.3


Copyright © 2013. All Rights Reserved.