Package org.eclipse.xtext.xbase.lib
Class LongExtensions
- java.lang.Object
-
- org.eclipse.xtext.xbase.lib.LongExtensions
-
@GwtCompatible public class LongExtensions extends java.lang.Object
This is an extension library forLong
numbers.- 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 long
bitwiseAnd(long a, long b)
The bitwiseand
operation.static long
bitwiseNot(long a)
The bitwise complement operation.static long
bitwiseOr(long a, long b)
The bitwise inclusiveor
operation.static long
bitwiseXor(long a, long b)
The bitwise exclusiveor
operation.static long
operator_divide(long a, byte b)
The binarydivide
operator.static long
operator_divide(long a, char b)
The binarydivide
operator.static double
operator_divide(long a, double b)
The binarydivide
operator.static float
operator_divide(long a, float b)
The binarydivide
operator.static long
operator_divide(long a, int b)
The binarydivide
operator.static long
operator_divide(long a, long b)
The binarydivide
operator.static long
operator_divide(long a, short b)
The binarydivide
operator.static long
operator_doubleGreaterThan(long a, int distance)
The binarysigned right sift
operator.static long
operator_doubleLessThan(long a, int distance)
The binarysigned left shift
operator.static boolean
operator_equals(long a, byte b)
The binaryequals
operator.static boolean
operator_equals(long a, char b)
The binaryequals
operator.static boolean
operator_equals(long a, double b)
The binaryequals
operator.static boolean
operator_equals(long a, float b)
The binaryequals
operator.static boolean
operator_equals(long a, int b)
The binaryequals
operator.static boolean
operator_equals(long a, long b)
The binaryequals
operator.static boolean
operator_equals(long a, short b)
The binaryequals
operator.static boolean
operator_greaterEqualsThan(long a, byte b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, char b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, double b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, float b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, int b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, long b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterEqualsThan(long a, short b)
The binarygreaterEqualsThan
operator.static boolean
operator_greaterThan(long a, byte b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, char b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, double b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, float b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, int b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, long b)
The binarygreaterThan
operator.static boolean
operator_greaterThan(long a, short b)
The binarygreaterThan
operator.static boolean
operator_lessEqualsThan(long a, byte b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, char b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, double b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, float b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, int b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, long b)
The binarylessEqualsThan
operator.static boolean
operator_lessEqualsThan(long a, short b)
The binarylessEqualsThan
operator.static boolean
operator_lessThan(long a, byte b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, char b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, double b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, float b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, int b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, long b)
The binarylessThan
operator.static boolean
operator_lessThan(long a, short b)
The binarylessThan
operator.static long
operator_minus(long l)
The unaryminus
operator.static long
operator_minus(long a, byte b)
The binaryminus
operator.static long
operator_minus(long a, char b)
The binaryminus
operator.static double
operator_minus(long a, double b)
The binaryminus
operator.static float
operator_minus(long a, float b)
The binaryminus
operator.static long
operator_minus(long a, int b)
The binaryminus
operator.static long
operator_minus(long a, long b)
The binaryminus
operator.static long
operator_minus(long a, short b)
The binaryminus
operator.static long
operator_minusMinus(long l)
The postfixdecrement
operator.static java.lang.Long
operator_minusMinus(java.lang.Long l)
The postfixdecrement
operator.static long
operator_modulo(long a, byte b)
The binarymodulo
operator.static long
operator_modulo(long a, char b)
The binarymodulo
operator.static double
operator_modulo(long a, double b)
The binarymodulo
operator.static float
operator_modulo(long a, float b)
The binarymodulo
operator.static long
operator_modulo(long a, int b)
The binarymodulo
operator.static long
operator_modulo(long a, long b)
The binarymodulo
operator.static long
operator_modulo(long a, short b)
The binarymodulo
operator.static long
operator_multiply(long a, byte b)
The binarymultiply
operator.static long
operator_multiply(long a, char b)
The binarymultiply
operator.static double
operator_multiply(long a, double b)
The binarymultiply
operator.static float
operator_multiply(long a, float b)
The binarymultiply
operator.static long
operator_multiply(long a, int b)
The binarymultiply
operator.static long
operator_multiply(long a, long b)
The binarymultiply
operator.static long
operator_multiply(long a, short b)
The binarymultiply
operator.static boolean
operator_notEquals(long a, byte b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, char b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, double b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, float b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, int b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, long b)
The binarynotEquals
operator.static boolean
operator_notEquals(long a, short b)
The binarynotEquals
operator.static long
operator_plus(long a, byte b)
The binaryplus
operator.static long
operator_plus(long a, char b)
The binaryplus
operator.static double
operator_plus(long a, double b)
The binaryplus
operator.static float
operator_plus(long a, float b)
The binaryplus
operator.static long
operator_plus(long a, int b)
The binaryplus
operator.static long
operator_plus(long a, long b)
The binaryplus
operator.static long
operator_plus(long a, short b)
The binaryplus
operator.static long
operator_plusPlus(long l)
The postfixincrement
operator.static java.lang.Long
operator_plusPlus(java.lang.Long l)
The postfixincrement
operator.static double
operator_power(long a, byte b)
The binarypower
operator.static double
operator_power(long a, char b)
The binarypower
operator.static double
operator_power(long a, double b)
The binarypower
operator.static double
operator_power(long a, float b)
The binarypower
operator.static double
operator_power(long a, int b)
The binarypower
operator.static double
operator_power(long a, long b)
The binarypower
operator.static double
operator_power(long a, short b)
The binarypower
operator.static boolean
operator_tripleEquals(long a, byte b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, char b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, double b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, float b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, int b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, long b)
Theidentity equals
operator.static boolean
operator_tripleEquals(long a, short b)
Theidentity equals
operator.static long
operator_tripleGreaterThan(long a, int distance)
The binaryunsigned right shift
operator.static boolean
operator_tripleNotEquals(long a, byte b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, char b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, double b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, float b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, int b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, long b)
Theidentity not equals
operator.static boolean
operator_tripleNotEquals(long a, short b)
Theidentity not equals
operator.static long
shiftLeft(long a, int distance)
Deprecated.useoperator_doubleLessThan(long, int)
instead.static long
shiftRight(long a, int distance)
Deprecated.useoperator_doubleGreaterThan(long, int)
instead.static long
shiftRightUnsigned(long a, int distance)
Deprecated.useoperator_tripleGreaterThan(long, int)
instead.
-
-
-
Method Detail
-
bitwiseOr
@Pure public static long bitwiseOr(long a, long b)
The bitwise inclusiveor
operation. 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 exclusiveor
operation. 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 bitwiseand
operation. 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 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
@Pure public static long operator_doubleLessThan(long a, int distance)
The binarysigned 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 @Pure public static long shiftRight(long a, int distance)
Deprecated.useoperator_doubleGreaterThan(long, int)
instead.The binarysigned 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
@Pure public static long operator_doubleGreaterThan(long a, int distance)
The binarysigned 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 @Pure public static long shiftRightUnsigned(long a, int distance)
Deprecated.useoperator_tripleGreaterThan(long, int)
instead.The binaryunsigned 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
@Pure public static long operator_tripleGreaterThan(long a, int distance)
The binaryunsigned 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
@Pure public static long operator_minus(long l)
The unaryminus
operator. 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 postfixdecrement
operator. 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 postfixdecrement
operator. 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 postfixincrement
operator. 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 postfixincrement
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. 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 binaryplus
operator. 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 binaryminus
operator. 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 binarymultiply
operator. 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 binarydivide
operator. 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 binarymodulo
operator. 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 binarylessThan
operator. 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 binarylessEqualsThan
operator. 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 binarygreaterThan
operator. 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 binarygreaterEqualsThan
operator. 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 binaryequals
operator. 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 binarynotEquals
operator. 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 binarypower
operator. 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 equals
operator. 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 equals
operator. This is the equivalent to Java's!=
operator.- Parameters:
a
- a long.b
- a byte.- Returns:
a != b
- Since:
- 2.4
-
-