Package org.eclipse.xtext.xbase.lib
Class LongExtensions
- java.lang.Object
-
- org.eclipse.xtext.xbase.lib.LongExtensions
-
@GwtCompatible public class LongExtensions extends java.lang.ObjectThis is an extension library forLongnumbers.- Since:
- 2.3
-
-
Constructor Summary
Constructors Constructor Description LongExtensions()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static longbitwiseAnd(long a, long b)The bitwiseandoperation.static longbitwiseNot(long a)The bitwise complement operation.static longbitwiseOr(long a, long b)The bitwise inclusiveoroperation.static longbitwiseXor(long a, long b)The bitwise exclusiveoroperation.static longoperator_divide(long a, byte b)The binarydivideoperator.static longoperator_divide(long a, char b)The binarydivideoperator.static doubleoperator_divide(long a, double b)The binarydivideoperator.static floatoperator_divide(long a, float b)The binarydivideoperator.static longoperator_divide(long a, int b)The binarydivideoperator.static longoperator_divide(long a, long b)The binarydivideoperator.static longoperator_divide(long a, short b)The binarydivideoperator.static longoperator_doubleGreaterThan(long a, int distance)The binarysigned right siftoperator.static longoperator_doubleLessThan(long a, int distance)The binarysigned left shiftoperator.static booleanoperator_equals(long a, byte b)The binaryequalsoperator.static booleanoperator_equals(long a, char b)The binaryequalsoperator.static booleanoperator_equals(long a, double b)The binaryequalsoperator.static booleanoperator_equals(long a, float b)The binaryequalsoperator.static booleanoperator_equals(long a, int b)The binaryequalsoperator.static booleanoperator_equals(long a, long b)The binaryequalsoperator.static booleanoperator_equals(long a, short b)The binaryequalsoperator.static booleanoperator_greaterEqualsThan(long a, byte b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, char b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, double b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, float b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, int b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, long b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(long a, short b)The binarygreaterEqualsThanoperator.static booleanoperator_greaterThan(long a, byte b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, char b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, double b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, float b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, int b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, long b)The binarygreaterThanoperator.static booleanoperator_greaterThan(long a, short b)The binarygreaterThanoperator.static booleanoperator_lessEqualsThan(long a, byte b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, char b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, double b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, float b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, int b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, long b)The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(long a, short b)The binarylessEqualsThanoperator.static booleanoperator_lessThan(long a, byte b)The binarylessThanoperator.static booleanoperator_lessThan(long a, char b)The binarylessThanoperator.static booleanoperator_lessThan(long a, double b)The binarylessThanoperator.static booleanoperator_lessThan(long a, float b)The binarylessThanoperator.static booleanoperator_lessThan(long a, int b)The binarylessThanoperator.static booleanoperator_lessThan(long a, long b)The binarylessThanoperator.static booleanoperator_lessThan(long a, short b)The binarylessThanoperator.static longoperator_minus(long l)The unaryminusoperator.static longoperator_minus(long a, byte b)The binaryminusoperator.static longoperator_minus(long a, char b)The binaryminusoperator.static doubleoperator_minus(long a, double b)The binaryminusoperator.static floatoperator_minus(long a, float b)The binaryminusoperator.static longoperator_minus(long a, int b)The binaryminusoperator.static longoperator_minus(long a, long b)The binaryminusoperator.static longoperator_minus(long a, short b)The binaryminusoperator.static longoperator_minusMinus(long l)The postfixdecrementoperator.static java.lang.Longoperator_minusMinus(java.lang.Long l)The postfixdecrementoperator.static longoperator_modulo(long a, byte b)The binarymodulooperator.static longoperator_modulo(long a, char b)The binarymodulooperator.static doubleoperator_modulo(long a, double b)The binarymodulooperator.static floatoperator_modulo(long a, float b)The binarymodulooperator.static longoperator_modulo(long a, int b)The binarymodulooperator.static longoperator_modulo(long a, long b)The binarymodulooperator.static longoperator_modulo(long a, short b)The binarymodulooperator.static longoperator_multiply(long a, byte b)The binarymultiplyoperator.static longoperator_multiply(long a, char b)The binarymultiplyoperator.static doubleoperator_multiply(long a, double b)The binarymultiplyoperator.static floatoperator_multiply(long a, float b)The binarymultiplyoperator.static longoperator_multiply(long a, int b)The binarymultiplyoperator.static longoperator_multiply(long a, long b)The binarymultiplyoperator.static longoperator_multiply(long a, short b)The binarymultiplyoperator.static booleanoperator_notEquals(long a, byte b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, char b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, double b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, float b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, int b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, long b)The binarynotEqualsoperator.static booleanoperator_notEquals(long a, short b)The binarynotEqualsoperator.static longoperator_plus(long a, byte b)The binaryplusoperator.static longoperator_plus(long a, char b)The binaryplusoperator.static doubleoperator_plus(long a, double b)The binaryplusoperator.static floatoperator_plus(long a, float b)The binaryplusoperator.static longoperator_plus(long a, int b)The binaryplusoperator.static longoperator_plus(long a, long b)The binaryplusoperator.static longoperator_plus(long a, short b)The binaryplusoperator.static longoperator_plusPlus(long l)The postfixincrementoperator.static java.lang.Longoperator_plusPlus(java.lang.Long l)The postfixincrementoperator.static doubleoperator_power(long a, byte b)The binarypoweroperator.static doubleoperator_power(long a, char b)The binarypoweroperator.static doubleoperator_power(long a, double b)The binarypoweroperator.static doubleoperator_power(long a, float b)The binarypoweroperator.static doubleoperator_power(long a, int b)The binarypoweroperator.static doubleoperator_power(long a, long b)The binarypoweroperator.static doubleoperator_power(long a, short b)The binarypoweroperator.static booleanoperator_tripleEquals(long a, byte b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, char b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, double b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, float b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, int b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, long b)Theidentity equalsoperator.static booleanoperator_tripleEquals(long a, short b)Theidentity equalsoperator.static longoperator_tripleGreaterThan(long a, int distance)The binaryunsigned right shiftoperator.static booleanoperator_tripleNotEquals(long a, byte b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, char b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, double b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, float b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, int b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, long b)Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(long a, short b)Theidentity not equalsoperator.static longshiftLeft(long a, int distance)Deprecated.useoperator_doubleLessThan(long, int)instead.static longshiftRight(long a, int distance)Deprecated.useoperator_doubleGreaterThan(long, int)instead.static longshiftRightUnsigned(long a, int distance)Deprecated.useoperator_tripleGreaterThan(long, int)instead.
-
-
-
Method Detail
-
bitwiseOr
@Pure public static long bitwiseOr(long a, long b)
The bitwise inclusiveoroperation. This is the equivalent to the java|operator.- Parameters:
a- a long.b- a long- Returns:
a|b
-
bitwiseXor
@Pure public static long bitwiseXor(long a, long b)
The bitwise exclusiveoroperation. This is the equivalent to the java^operator.- Parameters:
a- a long.b- a long.- Returns:
a^b
-
bitwiseAnd
@Pure public static long bitwiseAnd(long a, long b)
The bitwiseandoperation. This is the equivalent to the java&operator.- Parameters:
a- a long.b- a long.- Returns:
a&b
-
bitwiseNot
@Pure 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 @Pure public static long shiftLeft(long a, int distance)
Deprecated.useoperator_doubleLessThan(long, int)instead.The binarysigned left shiftoperator. 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
@Pure public static long operator_doubleLessThan(long a, int distance)
The binarysigned left shiftoperator. 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 @Pure public static long shiftRight(long a, int distance)
Deprecated.useoperator_doubleGreaterThan(long, int)instead.The binarysigned right siftoperator. 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
@Pure public static long operator_doubleGreaterThan(long a, int distance)
The binarysigned right siftoperator. 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 @Pure public static long shiftRightUnsigned(long a, int distance)
Deprecated.useoperator_tripleGreaterThan(long, int)instead.The binaryunsigned right shiftoperator. 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
@Pure public static long operator_tripleGreaterThan(long a, int distance)
The binaryunsigned right shiftoperator. 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
@Pure public static long operator_minus(long l)
The unaryminusoperator. This is the equivalent to the Java's-function.- Parameters:
l- a long.- Returns:
-l- Since:
- 2.3
-
operator_minusMinus
public static long operator_minusMinus(long l)
The postfixdecrementoperator. This is the equivalent to the Java's--postfix function.- Parameters:
l- a long.- Returns:
l--- Since:
- 2.6
-
operator_minusMinus
public static java.lang.Long operator_minusMinus(java.lang.Long l)
The postfixdecrementoperator. This is the equivalent to the Java's--postfix function.- Parameters:
l- a long.- Returns:
l--- Since:
- 2.6
-
operator_plusPlus
public static long operator_plusPlus(long l)
The postfixincrementoperator. This is the equivalent to the Java's++postfix function.- Parameters:
l- a long.- Returns:
l++- Since:
- 2.6
-
operator_plusPlus
public static java.lang.Long operator_plusPlus(java.lang.Long l)
The postfixincrementoperator. This is the equivalent to the Java's++postfix function.- Parameters:
l- a long.- Returns:
l++- Since:
- 2.6
-
operator_plus
@Pure public static double operator_plus(long a, double b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a double.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static double operator_minus(long a, double b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a double.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static double operator_multiply(long a, double b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a double.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static double operator_divide(long a, double b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a double.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static double operator_modulo(long a, double b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a double.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, double b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a double.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, double b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a double.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, double b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a double.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, double b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a double.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, double b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a double.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, double b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a double.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, double b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a double.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, double b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a double.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, double b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a double.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static float operator_plus(long a, float b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a float.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static float operator_minus(long a, float b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a float.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static float operator_multiply(long a, float b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a float.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static float operator_divide(long a, float b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a float.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static float operator_modulo(long a, float b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a float.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, float b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a float.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, float b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a float.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, float b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a float.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, float b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a float.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, float b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a float.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, float b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a float.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, float b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a float.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, float b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a float.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, float b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a float.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static long operator_plus(long a, long b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a long.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static long operator_minus(long a, long b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a long.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static long operator_multiply(long a, long b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a long.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static long operator_divide(long a, long b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a long.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static long operator_modulo(long a, long b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a long.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, long b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a long.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, long b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a long.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, long b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a long.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, long b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a long.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, long b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a long.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, long b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a long.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, long b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a long.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, long b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a long.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, long b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a long.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static long operator_plus(long a, int b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- an integer.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static long operator_minus(long a, int b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- an integer.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static long operator_multiply(long a, int b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- an integer.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static long operator_divide(long a, int b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- an integer.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static long operator_modulo(long a, int b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- an integer.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, int b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- an integer.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, int b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- an integer.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, int b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- an integer.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, int b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- an integer.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, int b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- an integer.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, int b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- an integer.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, int b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- an integer.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, int b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- an integer.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, int b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- an integer.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static long operator_plus(long a, char b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a character.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static long operator_minus(long a, char b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a character.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static long operator_multiply(long a, char b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a character.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static long operator_divide(long a, char b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a character.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static long operator_modulo(long a, char b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a character.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, char b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a character.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, char b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a character.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, char b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a character.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, char b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a character.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, char b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a character.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, char b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a character.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, char b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a character.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, char b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a character.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, char b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a character.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static long operator_plus(long a, short b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a short.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static long operator_minus(long a, short b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a short.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static long operator_multiply(long a, short b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a short.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static long operator_divide(long a, short b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a short.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static long operator_modulo(long a, short b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a short.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, short b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a short.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, short b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a short.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, short b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a short.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, short b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a short.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, short b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a short.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, short b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a short.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, short b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a short.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, short b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a short.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, short b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a short.- Returns:
a != b- Since:
- 2.4
-
operator_plus
@Pure public static long operator_plus(long a, byte b)
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- a long.b- a byte.- Returns:
a+b- Since:
- 2.3
-
operator_minus
@Pure public static long operator_minus(long a, byte b)
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- a long.b- a byte.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
@Pure public static long operator_multiply(long a, byte b)
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- a long.b- a byte.- Returns:
a*b- Since:
- 2.3
-
operator_divide
@Pure public static long operator_divide(long a, byte b)
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- a long.b- a byte.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
@Pure public static long operator_modulo(long a, byte b)
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- a long.b- a byte.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
@Pure public static boolean operator_lessThan(long a, byte b)
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- a long.b- a byte.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
@Pure public static boolean operator_lessEqualsThan(long a, byte b)
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- a long.b- a byte.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
@Pure public static boolean operator_greaterThan(long a, byte b)
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- a long.b- a byte.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
@Pure public static boolean operator_greaterEqualsThan(long a, byte b)
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- a long.b- a byte.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
@Pure public static boolean operator_equals(long a, byte b)
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- a long.b- a byte.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
@Pure public static boolean operator_notEquals(long a, byte b)
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- a long.b- a byte.- Returns:
a!=b- Since:
- 2.3
-
operator_power
@Pure public static double operator_power(long a, byte b)
The binarypoweroperator. This is the equivalent to the Java'sMath.pow()function.- Parameters:
a- a long.b- a byte.- Returns:
Math.pow(a, b)- Since:
- 2.3
-
operator_tripleEquals
@Pure public static boolean operator_tripleEquals(long a, byte b)
Theidentity equalsoperator. This is the equivalent to Java's==operator.- Parameters:
a- a long.b- a byte.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
@Pure public static boolean operator_tripleNotEquals(long a, byte b)
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- a long.b- a byte.- Returns:
a != b- Since:
- 2.4
-
-