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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic 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 LongThe 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 LongThe 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.static longshiftRight(long a, int distance) Deprecated.useoperator_doubleGreaterThan(long, int)instead.static longshiftRightUnsigned(long a, int distance) Deprecated.useoperator_tripleGreaterThan(long, int)instead.
-
Constructor Details
-
LongExtensions
public LongExtensions()
-
-
Method Details
-
bitwiseOr
The bitwise inclusiveoroperation. This is the equivalent to the java|operator.- Parameters:
a- a long.b- a long- Returns:
a|b
-
bitwiseXor
The bitwise exclusiveoroperation. This is the equivalent to the java^operator.- Parameters:
a- a long.b- a long.- Returns:
a^b
-
bitwiseAnd
The bitwiseandoperation. 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 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
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.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
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.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
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
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
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
The postfixincrementoperator. This is the equivalent to the Java's++postfix function.- Parameters:
l- a long.- Returns:
l++- Since:
- 2.6
-
operator_plus
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Theidentity not equalsoperator. 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.