org.eclipse.xtext.xbase.lib
Class LongExtensions

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

public class LongExtensions
extends java.lang.Object

This is an extension library for Long numbers.

Since:
2.3
Author:
Jan Koehnlein - Code generator

Constructor Summary
LongExtensions()
           
 
Method Summary
static long bitwiseAnd(long a, long b)
          The bitwise and operation.
static long bitwiseNot(long a)
          The bitwise complement operation.
static long bitwiseOr(long a, long b)
          The bitwise inclusive or operation.
static long bitwiseXor(long a, long b)
          The bitwise exclusive or operation.
static long operator_divide(long a, byte b)
          The binary divide operator.
static long operator_divide(long a, char b)
          The binary divide operator.
static double operator_divide(long a, double b)
          The binary divide operator.
static float operator_divide(long a, float b)
          The binary divide operator.
static long operator_divide(long a, int b)
          The binary divide operator.
static long operator_divide(long a, long b)
          The binary divide operator.
static long operator_divide(long a, short b)
          The binary divide operator.
static long operator_doubleGreaterThan(long a, int distance)
          The binary signed right sift operator.
static long operator_doubleLessThan(long a, int distance)
          The binary signed left shift operator.
static boolean operator_equals(long a, byte b)
          The binary equals operator.
static boolean operator_equals(long a, char b)
          The binary equals operator.
static boolean operator_equals(long a, double b)
          The binary equals operator.
static boolean operator_equals(long a, float b)
          The binary equals operator.
static boolean operator_equals(long a, int b)
          The binary equals operator.
static boolean operator_equals(long a, long b)
          The binary equals operator.
static boolean operator_equals(long a, short b)
          The binary equals operator.
static boolean operator_greaterEqualsThan(long a, byte b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, char b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, double b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, float b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, int b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, long b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(long a, short b)
          The binary greaterEqualsThan operator.
static boolean operator_greaterThan(long a, byte b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, char b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, double b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, float b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, int b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, long b)
          The binary greaterThan operator.
static boolean operator_greaterThan(long a, short b)
          The binary greaterThan operator.
static boolean operator_lessEqualsThan(long a, byte b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, char b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, double b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, float b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, int b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, long b)
          The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(long a, short b)
          The binary lessEqualsThan operator.
static boolean operator_lessThan(long a, byte b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, char b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, double b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, float b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, int b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, long b)
          The binary lessThan operator.
static boolean operator_lessThan(long a, short b)
          The binary lessThan operator.
static long operator_minus(long a)
          The unary minus operator.
static long operator_minus(long a, byte b)
          The binary minus operator.
static long operator_minus(long a, char b)
          The binary minus operator.
static double operator_minus(long a, double b)
          The binary minus operator.
static float operator_minus(long a, float b)
          The binary minus operator.
static long operator_minus(long a, int b)
          The binary minus operator.
static long operator_minus(long a, long b)
          The binary minus operator.
static long operator_minus(long a, short b)
          The binary minus operator.
static long operator_modulo(long a, byte b)
          The binary modulo operator.
static long operator_modulo(long a, char b)
          The binary modulo operator.
static double operator_modulo(long a, double b)
          The binary modulo operator.
static float operator_modulo(long a, float b)
          The binary modulo operator.
static long operator_modulo(long a, int b)
          The binary modulo operator.
static long operator_modulo(long a, long b)
          The binary modulo operator.
static long operator_modulo(long a, short b)
          The binary modulo operator.
static long operator_multiply(long a, byte b)
          The binary multiply operator.
static long operator_multiply(long a, char b)
          The binary multiply operator.
static double operator_multiply(long a, double b)
          The binary multiply operator.
static float operator_multiply(long a, float b)
          The binary multiply operator.
static long operator_multiply(long a, int b)
          The binary multiply operator.
static long operator_multiply(long a, long b)
          The binary multiply operator.
static long operator_multiply(long a, short b)
          The binary multiply operator.
static boolean operator_notEquals(long a, byte b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, char b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, double b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, float b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, int b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, long b)
          The binary notEquals operator.
static boolean operator_notEquals(long a, short b)
          The binary notEquals operator.
static long operator_plus(long a, byte b)
          The binary plus operator.
static long operator_plus(long a, char b)
          The binary plus operator.
static double operator_plus(long a, double b)
          The binary plus operator.
static float operator_plus(long a, float b)
          The binary plus operator.
static long operator_plus(long a, int b)
          The binary plus operator.
static long operator_plus(long a, long b)
          The binary plus operator.
static long operator_plus(long a, short b)
          The binary plus operator.
static double operator_power(long a, byte b)
          The binary power operator.
static double operator_power(long a, char b)
          The binary power operator.
static double operator_power(long a, double b)
          The binary power operator.
static double operator_power(long a, float b)
          The binary power operator.
static double operator_power(long a, int b)
          The binary power operator.
static double operator_power(long a, long b)
          The binary power operator.
static double operator_power(long a, short b)
          The binary power operator.
static long operator_tripleGreaterThan(long a, int distance)
          The binary unsigned right shift operator.
static long shiftLeft(long a, int distance)
          Deprecated. use operator_doubleLessThan(long, int) instead.
static long shiftRight(long a, int distance)
          Deprecated. use operator_doubleGreaterThan(long, int) instead.
static long shiftRightUnsigned(long a, int distance)
          Deprecated. use operator_tripleGreaterThan(long, int) instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LongExtensions

public LongExtensions()
Method Detail

bitwiseOr

public static long bitwiseOr(long a,
                             long b)
The bitwise inclusive or operation. This is the equivalent to the java | operator.

Parameters:
a - a long.
b - a long
Returns:
a|b

bitwiseXor

public static long bitwiseXor(long a,
                              long b)
The bitwise exclusive or operation. This is the equivalent to the java ^ operator.

Parameters:
a - a long.
b - a long.
Returns:
a^b

bitwiseAnd

public static long bitwiseAnd(long a,
                              long b)
The bitwise and operation. This is the equivalent to the java & operator.

Parameters:
a - a long.
b - a long.
Returns:
a&b

bitwiseNot

public static long bitwiseNot(long a)
The bitwise complement operation. This is the equivalent to the java ~ operator.

Parameters:
a - a long.
Returns:
the bitwise complement of a.

shiftLeft

@Deprecated
public static long shiftLeft(long a,
                                        int distance)
Deprecated. use operator_doubleLessThan(long, int) instead.

The binary signed left shift operator. This is the equivalent to the java << operator. Fills in a zero as the least significant bit.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a<<distance

operator_doubleLessThan

public static long operator_doubleLessThan(long a,
                                           int distance)
The binary signed left shift operator. This is the equivalent to the java << operator. Fills in a zero as the least significant bit.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a<<distance

shiftRight

@Deprecated
public static long shiftRight(long a,
                                         int distance)
Deprecated. use operator_doubleGreaterThan(long, int) instead.

The binary signed right sift operator. This is the equivalent to the java >> operator. Shifts in the value of the sign bit as the leftmost bit, thus preserving the sign of the initial value.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a>>distance

operator_doubleGreaterThan

public static long operator_doubleGreaterThan(long a,
                                              int distance)
The binary signed right sift operator. This is the equivalent to the java >> operator. Shifts in the value of the sign bit as the leftmost bit, thus preserving the sign of the initial value.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a>>distance

shiftRightUnsigned

@Deprecated
public static long shiftRightUnsigned(long a,
                                                 int distance)
Deprecated. use operator_tripleGreaterThan(long, int) instead.

The binary unsigned right shift operator. This is the equivalent to the java >>> operator. Shifts in zeros into as leftmost bits, thus always yielding a positive integer.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a>>>distance

operator_tripleGreaterThan

public static long operator_tripleGreaterThan(long a,
                                              int distance)
The binary unsigned right shift operator. This is the equivalent to the java >>> operator. Shifts in zeros into as leftmost bits, thus always yielding a positive integer.

Parameters:
a - a long.
distance - the number of times to shift.
Returns:
a>>>distance

operator_minus

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

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

operator_plus

public static double operator_plus(long a,
                                   double b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a double.
Returns:
a+b
Since:
2.3

operator_minus

public static double operator_minus(long a,
                                    double b)
The binary minus operator. This is the equivalent to the Java - operator.

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

operator_multiply

public static double operator_multiply(long a,
                                       double b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a double.
Returns:
a*b
Since:
2.3

operator_divide

public static double operator_divide(long a,
                                     double b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a double.
Returns:
a/b
Since:
2.3

operator_modulo

public static double operator_modulo(long a,
                                     double b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a double.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        double b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a double.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              double b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a double.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           double b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a double.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 double b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a double.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      double b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a double.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         double b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a double.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    double b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static float operator_plus(long a,
                                  float b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a float.
Returns:
a+b
Since:
2.3

operator_minus

public static float operator_minus(long a,
                                   float b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - a float.
Returns:
a-b
Since:
2.3

operator_multiply

public static float operator_multiply(long a,
                                      float b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a float.
Returns:
a*b
Since:
2.3

operator_divide

public static float operator_divide(long a,
                                    float b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a float.
Returns:
a/b
Since:
2.3

operator_modulo

public static float operator_modulo(long a,
                                    float b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a float.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        float b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a float.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              float b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a float.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           float b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a float.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 float b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a float.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      float b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a float.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         float b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a float.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    float b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static long operator_plus(long a,
                                 long b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a long.
Returns:
a+b
Since:
2.3

operator_minus

public static long operator_minus(long a,
                                  long b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - a long.
Returns:
a-b
Since:
2.3

operator_multiply

public static long operator_multiply(long a,
                                     long b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a long.
Returns:
a*b
Since:
2.3

operator_divide

public static long operator_divide(long a,
                                   long b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a long.
Returns:
a/b
Since:
2.3

operator_modulo

public static long operator_modulo(long a,
                                   long b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a long.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        long b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a long.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              long b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a long.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           long b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a long.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 long b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a long.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      long b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a long.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         long b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a long.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    long b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static long operator_plus(long a,
                                 int b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - an integer.
Returns:
a+b
Since:
2.3

operator_minus

public static long operator_minus(long a,
                                  int b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - an integer.
Returns:
a-b
Since:
2.3

operator_multiply

public static long operator_multiply(long a,
                                     int b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - an integer.
Returns:
a*b
Since:
2.3

operator_divide

public static long operator_divide(long a,
                                   int b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - an integer.
Returns:
a/b
Since:
2.3

operator_modulo

public static long operator_modulo(long a,
                                   int b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - an integer.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        int b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - an integer.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              int b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - an integer.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           int b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - an integer.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 int b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - an integer.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      int b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - an integer.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         int b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - an integer.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    int b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static long operator_plus(long a,
                                 char b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a character.
Returns:
a+b
Since:
2.3

operator_minus

public static long operator_minus(long a,
                                  char b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - a character.
Returns:
a-b
Since:
2.3

operator_multiply

public static long operator_multiply(long a,
                                     char b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a character.
Returns:
a*b
Since:
2.3

operator_divide

public static long operator_divide(long a,
                                   char b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a character.
Returns:
a/b
Since:
2.3

operator_modulo

public static long operator_modulo(long a,
                                   char b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a character.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        char b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a character.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              char b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a character.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           char b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a character.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 char b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a character.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      char b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a character.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         char b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a character.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    char b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static long operator_plus(long a,
                                 short b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a short.
Returns:
a+b
Since:
2.3

operator_minus

public static long operator_minus(long a,
                                  short b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - a short.
Returns:
a-b
Since:
2.3

operator_multiply

public static long operator_multiply(long a,
                                     short b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a short.
Returns:
a*b
Since:
2.3

operator_divide

public static long operator_divide(long a,
                                   short b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a short.
Returns:
a/b
Since:
2.3

operator_modulo

public static long operator_modulo(long a,
                                   short b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a short.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        short b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a short.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              short b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a short.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           short b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a short.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 short b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a short.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      short b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a short.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         short b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a short.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    short b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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

operator_plus

public static long operator_plus(long a,
                                 byte b)
The binary plus operator. This is the equivalent to the Java + operator.

Parameters:
a - a long.
b - a byte.
Returns:
a+b
Since:
2.3

operator_minus

public static long operator_minus(long a,
                                  byte b)
The binary minus operator. This is the equivalent to the Java - operator.

Parameters:
a - a long.
b - a byte.
Returns:
a-b
Since:
2.3

operator_multiply

public static long operator_multiply(long a,
                                     byte b)
The binary multiply operator. This is the equivalent to the Java * operator.

Parameters:
a - a long.
b - a byte.
Returns:
a*b
Since:
2.3

operator_divide

public static long operator_divide(long a,
                                   byte b)
The binary divide operator. This is the equivalent to the Java / operator.

Parameters:
a - a long.
b - a byte.
Returns:
a/b
Since:
2.3

operator_modulo

public static long operator_modulo(long a,
                                   byte b)
The binary modulo operator. This is the equivalent to the Java % operator.

Parameters:
a - a long.
b - a byte.
Returns:
a%b
Since:
2.3

operator_lessThan

public static boolean operator_lessThan(long a,
                                        byte b)
The binary lessThan operator. This is the equivalent to the Java < operator.

Parameters:
a - a long.
b - a byte.
Returns:
a<b
Since:
2.3

operator_lessEqualsThan

public static boolean operator_lessEqualsThan(long a,
                                              byte b)
The binary lessEqualsThan operator. This is the equivalent to the Java <= operator.

Parameters:
a - a long.
b - a byte.
Returns:
a<=b
Since:
2.3

operator_greaterThan

public static boolean operator_greaterThan(long a,
                                           byte b)
The binary greaterThan operator. This is the equivalent to the Java > operator.

Parameters:
a - a long.
b - a byte.
Returns:
a>b
Since:
2.3

operator_greaterEqualsThan

public static boolean operator_greaterEqualsThan(long a,
                                                 byte b)
The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator.

Parameters:
a - a long.
b - a byte.
Returns:
a>=b
Since:
2.3

operator_equals

public static boolean operator_equals(long a,
                                      byte b)
The binary equals operator. This is the equivalent to the Java == operator.

Parameters:
a - a long.
b - a byte.
Returns:
a==b
Since:
2.3

operator_notEquals

public static boolean operator_notEquals(long a,
                                         byte b)
The binary notEquals operator. This is the equivalent to the Java != operator.

Parameters:
a - a long.
b - a byte.
Returns:
a!=b
Since:
2.3

operator_power

public static double operator_power(long a,
                                    byte b)
The binary power operator. This is the equivalent to the Java's Math.pow() function.

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