Package org.eclipse.xtext.xbase.lib
Class LongExtensions
java.lang.Object
org.eclipse.xtext.xbase.lib.LongExtensions
This is an extension library for
Long
numbers.- Since:
- 2.3
- Author:
- Jan Koehnlein - Code generator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 Long
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 Long
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.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.
-
Constructor Details
-
LongExtensions
public LongExtensions()
-
-
Method Details
-
bitwiseOr
The bitwise inclusiveor
operation. This is the equivalent to the java|
operator.- Parameters:
a
- a long.b
- a long- Returns:
a|b
-
bitwiseXor
The bitwise exclusiveor
operation. This is the equivalent to the java^
operator.- Parameters:
a
- a long.b
- a long.- Returns:
a^b
-
bitwiseAnd
The bitwiseand
operation. This is the equivalent to the java&
operator.- Parameters:
a
- a long.b
- a long.- Returns:
a&b
-
bitwiseNot
The bitwise complement operation. This is the equivalent to the java~
operator.- Parameters:
a
- a long.- Returns:
- the bitwise complement of
a
.
-
shiftLeft
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
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.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
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.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
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
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
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
The postfixincrement
operator. This is the equivalent to the Java's++
postfix function.- Parameters:
l
- a long.- Returns:
l++
- Since:
- 2.6
-
operator_plus
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
-
operator_doubleLessThan(long, int)
instead.