java.lang.Object
org.eclipse.xtext.xbase.lib.IntegerExtensions
- Since:
- 2.3
- Author:
- Sven Efftinge - Initial contribution and API, Jan Koehnlein - Primitive versions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intbitwiseAnd(int a, int b) The bitwiseandoperation.static intbitwiseNot(int a) The bitwise complement operation.static intbitwiseOr(int a, int b) The bitwise inclusiveoroperation.static intbitwiseXor(int a, int b) The bitwise exclusiveoroperation.static intoperator_divide(int a, byte b) The binarydivideoperator.static intoperator_divide(int a, char b) The binarydivideoperator.static doubleoperator_divide(int a, double b) The binarydivideoperator.static floatoperator_divide(int a, float b) The binarydivideoperator.static intoperator_divide(int a, int b) The binarydivideoperator.static longoperator_divide(int a, long b) The binarydivideoperator.static intoperator_divide(int a, short b) The binarydivideoperator.static ExclusiveRangeoperator_doubleDotLessThan(int a, int b) The..<operator yields anExclusiveRangethat increments from a to b (exclusive).static intoperator_doubleGreaterThan(int a, int distance) The binarysigned right siftoperator.static intoperator_doubleLessThan(int a, int distance) The binarysigned left shiftoperator.static booleanoperator_equals(int a, byte b) The binaryequalsoperator.static booleanoperator_equals(int a, char b) The binaryequalsoperator.static booleanoperator_equals(int a, double b) The binaryequalsoperator.static booleanoperator_equals(int a, float b) The binaryequalsoperator.static booleanoperator_equals(int a, int b) The binaryequalsoperator.static booleanoperator_equals(int a, long b) The binaryequalsoperator.static booleanoperator_equals(int a, short b) The binaryequalsoperator.static booleanoperator_greaterEqualsThan(int a, byte b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, char b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, double b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, float b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, int b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, long b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterEqualsThan(int a, short b) The binarygreaterEqualsThanoperator.static booleanoperator_greaterThan(int a, byte b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, char b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, double b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, float b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, int b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, long b) The binarygreaterThanoperator.static booleanoperator_greaterThan(int a, short b) The binarygreaterThanoperator.static ExclusiveRangeoperator_greaterThanDoubleDot(int a, int b) The>..operator yields anExclusiveRangethat decrements from a (exclusive) down to b.static booleanoperator_lessEqualsThan(int a, byte b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, char b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, double b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, float b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, int b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, long b) The binarylessEqualsThanoperator.static booleanoperator_lessEqualsThan(int a, short b) The binarylessEqualsThanoperator.static booleanoperator_lessThan(int a, byte b) The binarylessThanoperator.static booleanoperator_lessThan(int a, char b) The binarylessThanoperator.static booleanoperator_lessThan(int a, double b) The binarylessThanoperator.static booleanoperator_lessThan(int a, float b) The binarylessThanoperator.static booleanoperator_lessThan(int a, int b) The binarylessThanoperator.static booleanoperator_lessThan(int a, long b) The binarylessThanoperator.static booleanoperator_lessThan(int a, short b) The binarylessThanoperator.static intoperator_minus(int i) The unaryminusoperator.static intoperator_minus(int a, byte b) The binaryminusoperator.static intoperator_minus(int a, char b) The binaryminusoperator.static doubleoperator_minus(int a, double b) The binaryminusoperator.static floatoperator_minus(int a, float b) The binaryminusoperator.static intoperator_minus(int a, int b) The binaryminusoperator.static longoperator_minus(int a, long b) The binaryminusoperator.static intoperator_minus(int a, short b) The binaryminusoperator.static intoperator_minusMinus(int i) The postfixdecrementoperator.static IntegerThe postfixdecrementoperator.static intoperator_modulo(int a, byte b) The binarymodulooperator.static intoperator_modulo(int a, char b) The binarymodulooperator.static doubleoperator_modulo(int a, double b) The binarymodulooperator.static floatoperator_modulo(int a, float b) The binarymodulooperator.static intoperator_modulo(int a, int b) The binarymodulooperator.static longoperator_modulo(int a, long b) The binarymodulooperator.static intoperator_modulo(int a, short b) The binarymodulooperator.static intoperator_multiply(int a, byte b) The binarymultiplyoperator.static intoperator_multiply(int a, char b) The binarymultiplyoperator.static doubleoperator_multiply(int a, double b) The binarymultiplyoperator.static floatoperator_multiply(int a, float b) The binarymultiplyoperator.static intoperator_multiply(int a, int b) The binarymultiplyoperator.static longoperator_multiply(int a, long b) The binarymultiplyoperator.static intoperator_multiply(int a, short b) The binarymultiplyoperator.static booleanoperator_notEquals(int a, byte b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, char b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, double b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, float b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, int b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, long b) The binarynotEqualsoperator.static booleanoperator_notEquals(int a, short b) The binarynotEqualsoperator.static intoperator_plus(int a, byte b) The binaryplusoperator.static intoperator_plus(int a, char b) The binaryplusoperator.static doubleoperator_plus(int a, double b) The binaryplusoperator.static floatoperator_plus(int a, float b) The binaryplusoperator.static intoperator_plus(int a, int b) The binaryplusoperator.static longoperator_plus(int a, long b) The binaryplusoperator.static intoperator_plus(int a, short b) The binaryplusoperator.static intoperator_plusPlus(int i) The postfixincrementoperator.static IntegerThe postfixincrementoperator.static doubleoperator_power(int a, byte b) The binarypoweroperator.static doubleoperator_power(int a, char b) The binarypoweroperator.static doubleoperator_power(int a, double b) The binarypoweroperator.static doubleoperator_power(int a, float b) The binarypoweroperator.static doubleoperator_power(int a, int b) The binarypoweroperator.static doubleoperator_power(int a, long b) The binarypoweroperator.static doubleoperator_power(int a, short b) The binarypoweroperator.static booleanoperator_tripleEquals(int a, byte b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, char b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, double b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, float b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, int b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, long b) Theidentity equalsoperator.static booleanoperator_tripleEquals(int a, short b) Theidentity equalsoperator.static intoperator_tripleGreaterThan(int a, int distance) The binaryunsigned right shiftoperator.static booleanoperator_tripleNotEquals(int a, byte b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, char b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, double b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, float b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, int b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, long b) Theidentity not equalsoperator.static booleanoperator_tripleNotEquals(int a, short b) Theidentity not equalsoperator.static IntegerRangeoperator_upTo(int a, int b) The..operator yields anIntegerRange.static intshiftLeft(int a, int distance) Deprecated.static intshiftRight(int a, int distance) Deprecated.useoperator_doubleGreaterThan(int, int)insteadstatic intshiftRightUnsigned(int a, int distance) Deprecated.useoperator_tripleGreaterThan(int, int)instead
-
Constructor Details
-
IntegerExtensions
public IntegerExtensions()
-
-
Method Details
-
operator_upTo
The..operator yields anIntegerRange.- Parameters:
a- the start of the range.b- the end of the range.- Returns:
- an
IntegerRange. Nevernull. - Since:
- 2.3
-
operator_doubleDotLessThan
The..<operator yields anExclusiveRangethat increments from a to b (exclusive).- Parameters:
a- the start of the range.b- the end of the range (exclusive).- Returns:
- an incrementing
ExclusiveRange. Nevernull. - Since:
- 2.4
-
operator_greaterThanDoubleDot
The>..operator yields anExclusiveRangethat decrements from a (exclusive) down to b.- Parameters:
a- the start of the range (exclusive).b- the end of the range.- Returns:
- a decrementing
ExclusiveRange. Nevernull. - Since:
- 2.4
-
bitwiseOr
The bitwise inclusiveoroperation. This is the equivalent to the java|operator.- Parameters:
a- an integer.b- an integer.- Returns:
a|b
-
bitwiseXor
The bitwise exclusiveoroperation. This is the equivalent to the java^operator.- Parameters:
a- an integer.b- an integer.- Returns:
a^b
-
bitwiseAnd
The bitwiseandoperation. This is the equivalent to the java&operator.- Parameters:
a- an integer.b- an integer.- Returns:
a&b
-
bitwiseNot
The bitwise complement operation. This is the equivalent to the java~operator.- Parameters:
a- an integer.- Returns:
- the bitwise complement of
a.
-
shiftLeft
Deprecated.useoperator_doubleLessThan(int, int)insteadThe binarysigned left shiftoperator. This is the equivalent to the java<<operator. Fills in a zero as the least significant bit.- Parameters:
a- an integer.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- an integer.distance- the number of times to shift.- Returns:
a<<distance- Since:
- 2.3
-
shiftRight
Deprecated.useoperator_doubleGreaterThan(int, int)insteadThe 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- an integer.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- an integer.distance- the number of times to shift.- Returns:
a>>distance- Since:
- 2.3
-
shiftRightUnsigned
Deprecated.useoperator_tripleGreaterThan(int, int)insteadThe 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- an integer.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- an integer.distance- the number of times to shift.- Returns:
a>>>distance- Since:
- 2.3
-
operator_minus
The unaryminusoperator. This is the equivalent to the Java's-function.- Parameters:
i- an integer.- Returns:
-i- Since:
- 2.3
-
operator_minusMinus
public static int operator_minusMinus(int i) The postfixdecrementoperator. This is the equivalent to the Java's--postfix function.- Parameters:
i- an integer.- Returns:
i--- Since:
- 2.6
-
operator_minusMinus
The postfixdecrementoperator. This is the equivalent to the Java's--postfix function.- Parameters:
i- an integer.- Returns:
i--- Since:
- 2.6
-
operator_plusPlus
public static int operator_plusPlus(int i) The postfixincrementoperator. This is the equivalent to the Java's++postfix function.- Parameters:
i- an integer.- Returns:
i++- Since:
- 2.6
-
operator_plusPlus
The postfixincrementoperator. This is the equivalent to the Java's++postfix function.- Parameters:
i- an integer.- Returns:
i++- Since:
- 2.6
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a double.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a double.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a double.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a double.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a double.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a double.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a double.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a double.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a double.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a double.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a double.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a double.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a float.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a float.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a float.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a float.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a float.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a float.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a float.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a float.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a float.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a float.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a float.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a float.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a long.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a long.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a long.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a long.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a long.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a long.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a long.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a long.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a long.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a long.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a long.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a long.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- an integer.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- an integer.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- an integer.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- an integer.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- an integer.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- an integer.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- an integer.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- an integer.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- an integer.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- an integer.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- an integer.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- an integer.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a character.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a character.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a character.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a character.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a character.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a character.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a character.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a character.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a character.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a character.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a character.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a character.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a short.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a short.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a short.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a short.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a short.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a short.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a short.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a short.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a short.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a short.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a short.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a short.- Returns:
a != b- Since:
- 2.4
-
operator_plus
The binaryplusoperator. This is the equivalent to the Java+operator.- Parameters:
a- an integer.b- a byte.- Returns:
a+b- Since:
- 2.3
-
operator_minus
The binaryminusoperator. This is the equivalent to the Java-operator.- Parameters:
a- an integer.b- a byte.- Returns:
a-b- Since:
- 2.3
-
operator_multiply
The binarymultiplyoperator. This is the equivalent to the Java*operator.- Parameters:
a- an integer.b- a byte.- Returns:
a*b- Since:
- 2.3
-
operator_divide
The binarydivideoperator. This is the equivalent to the Java/operator.- Parameters:
a- an integer.b- a byte.- Returns:
a/b- Since:
- 2.3
-
operator_modulo
The binarymodulooperator. This is the equivalent to the Java%operator.- Parameters:
a- an integer.b- a byte.- Returns:
a%b- Since:
- 2.3
-
operator_lessThan
The binarylessThanoperator. This is the equivalent to the Java<operator.- Parameters:
a- an integer.b- a byte.- Returns:
a<b- Since:
- 2.3
-
operator_lessEqualsThan
The binarylessEqualsThanoperator. This is the equivalent to the Java<=operator.- Parameters:
a- an integer.b- a byte.- Returns:
a<=b- Since:
- 2.3
-
operator_greaterThan
The binarygreaterThanoperator. This is the equivalent to the Java>operator.- Parameters:
a- an integer.b- a byte.- Returns:
a>b- Since:
- 2.3
-
operator_greaterEqualsThan
The binarygreaterEqualsThanoperator. This is the equivalent to the Java>=operator.- Parameters:
a- an integer.b- a byte.- Returns:
a>=b- Since:
- 2.3
-
operator_equals
The binaryequalsoperator. This is the equivalent to the Java==operator.- Parameters:
a- an integer.b- a byte.- Returns:
a==b- Since:
- 2.3
-
operator_notEquals
The binarynotEqualsoperator. This is the equivalent to the Java!=operator.- Parameters:
a- an integer.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- an integer.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- an integer.b- a byte.- Returns:
a == b- Since:
- 2.4
-
operator_tripleNotEquals
Theidentity not equalsoperator. This is the equivalent to Java's!=operator.- Parameters:
a- an integer.b- a byte.- Returns:
a != b- Since:
- 2.4
-
operator_doubleLessThan(int, int)instead