From b55347201623a8eeba14d2cf65dc4075de8cdf3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Galland?= Date: Wed, 11 Oct 2017 14:21:20 +0200 Subject: [PATCH] [lang] Add implicit casting functions for numbers. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Galland --- .../SARLImplicitlyImportedFeatures.java | 47 +- .../numbers/AtomicIntegerCastExtensions.java | 140 ++ ...a => AtomicIntegerOperatorExtensions.java} | 2032 +++++++++-------- .../numbers/AtomicLongCastExtensions.java | 140 ++ ...java => AtomicLongOperatorExtensions.java} | 2032 +++++++++-------- .../numbers/AtomicNumbersExtensions.java | 94 - .../scoping/numbers/ByteCastExtensions.java | 74 + ...sions.java => ByteOperatorExtensions.java} | 2032 +++++++++-------- .../scoping/numbers/DoubleCastExtensions.java | 74 + ...ons.java => DoubleOperatorExtensions.java} | 2026 ++++++++-------- .../scoping/numbers/FloatCastExtensions.java | 74 + ...ions.java => FloatOperatorExtensions.java} | 2032 +++++++++-------- .../numbers/IntegerCastExtensions.java | 74 + ...ns.java => IntegerOperatorExtensions.java} | 2032 +++++++++-------- .../scoping/numbers/LongCastExtensions.java | 74 + ...sions.java => LongOperatorExtensions.java} | 2032 +++++++++-------- .../NumberCastImplicitlyImportedFeatures.java | 64 + ...ons.java => NumberOperatorExtensions.java} | 152 +- ...berOperatorImplicitlyImportedFeatures.java | 69 + .../numbers/PrimitiveByteCastExtensions.java | 74 + ...a => PrimitiveByteOperatorExtensions.java} | 1160 +++++----- .../PrimitiveDoubleCastExtensions.java | 74 + ...=> PrimitiveDoubleOperatorExtensions.java} | 1160 +++++----- .../numbers/PrimitiveFloatCastExtensions.java | 74 + ... => PrimitiveFloatOperatorExtensions.java} | 1160 +++++----- .../numbers/PrimitiveIntCastExtensions.java | 74 + ...va => PrimitiveIntOperatorExtensions.java} | 1160 +++++----- .../numbers/PrimitiveLongCastExtensions.java | 74 + ...a => PrimitiveLongOperatorExtensions.java} | 1160 +++++----- .../numbers/PrimitiveShortCastExtensions.java | 74 + ... => PrimitiveShortOperatorExtensions.java} | 1160 +++++----- .../scoping/numbers/ShortCastExtensions.java | 74 + ...ions.java => ShortOperatorExtensions.java} | 2032 +++++++++-------- .../lang/scoping/numbers/generateCasts.perl | 233 ++ .../{generate.perl => generateOperators.perl} | 104 +- .../parsing/general/CastKeywordTest.java | 61 + 36 files changed, 13364 insertions(+), 11838 deletions(-) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{AtomicIntegerExtensions.java => AtomicIntegerOperatorExtensions.java} (63%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{AtomicLongExtensions.java => AtomicLongOperatorExtensions.java} (63%) delete mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicNumbersExtensions.java create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{ByteExtensions.java => ByteOperatorExtensions.java} (62%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{DoubleExtensions.java => DoubleOperatorExtensions.java} (63%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{FloatExtensions.java => FloatOperatorExtensions.java} (63%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{IntegerExtensions.java => IntegerOperatorExtensions.java} (62%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{LongExtensions.java => LongOperatorExtensions.java} (62%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberCastImplicitlyImportedFeatures.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{NumberExtensions.java => NumberOperatorExtensions.java} (69%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorImplicitlyImportedFeatures.java create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveByteExtensions.java => PrimitiveByteOperatorExtensions.java} (61%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveDoubleExtensions.java => PrimitiveDoubleOperatorExtensions.java} (62%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveFloatExtensions.java => PrimitiveFloatOperatorExtensions.java} (62%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveIntExtensions.java => PrimitiveIntOperatorExtensions.java} (61%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveLongExtensions.java => PrimitiveLongOperatorExtensions.java} (61%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{PrimitiveShortExtensions.java => PrimitiveShortOperatorExtensions.java} (61%) create mode 100644 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortCastExtensions.java rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{ShortExtensions.java => ShortOperatorExtensions.java} (62%) create mode 100755 main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateCasts.perl rename main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/{generate.perl => generateOperators.perl} (78%) create mode 100644 tests/io.sarl.lang.tests/src/test/java/io/sarl/lang/tests/general/parsing/general/CastKeywordTest.java diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/SARLImplicitlyImportedFeatures.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/SARLImplicitlyImportedFeatures.java index 4b6cfee3f2..4ab3d7a149 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/SARLImplicitlyImportedFeatures.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/SARLImplicitlyImportedFeatures.java @@ -23,26 +23,15 @@ import java.util.List; +import javax.inject.Inject; + import com.google.inject.Singleton; import org.eclipse.xtext.xbase.scoping.batch.ImplicitlyImportedFeatures; import io.sarl.lang.scoping.batch.SARLMapExtensions; import io.sarl.lang.scoping.batch.SARLTimeExtensions; -import io.sarl.lang.scoping.numbers.AtomicIntegerExtensions; -import io.sarl.lang.scoping.numbers.AtomicLongExtensions; -import io.sarl.lang.scoping.numbers.ByteExtensions; -import io.sarl.lang.scoping.numbers.DoubleExtensions; -import io.sarl.lang.scoping.numbers.FloatExtensions; -import io.sarl.lang.scoping.numbers.IntegerExtensions; -import io.sarl.lang.scoping.numbers.LongExtensions; -import io.sarl.lang.scoping.numbers.NumberExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveByteExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveDoubleExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveFloatExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveIntExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveLongExtensions; -import io.sarl.lang.scoping.numbers.PrimitiveShortExtensions; -import io.sarl.lang.scoping.numbers.ShortExtensions; +import io.sarl.lang.scoping.numbers.NumberCastImplicitlyImportedFeatures; +import io.sarl.lang.scoping.numbers.NumberOperatorImplicitlyImportedFeatures; /** Provider of the implicitly imported features in the SARL language. @@ -55,6 +44,12 @@ @Singleton public class SARLImplicitlyImportedFeatures extends ImplicitlyImportedFeatures { + @Inject + private NumberOperatorImplicitlyImportedFeatures numberOperatorFeatures; + + @Inject + private NumberCastImplicitlyImportedFeatures numberCastFeatures; + /** Construct the provider. */ public SARLImplicitlyImportedFeatures() { @@ -68,24 +63,10 @@ protected List> getExtensionClasses() { xtextList.add(0, SARLMapExtensions.class); xtextList.add(0, SARLTimeExtensions.class); - // The following extensions have been added due to issue: - // https://github.com/eclipse/xtext-extras/issues/186 - // Since the possible patch was discarded from Xbase, these extensions are present within SARL. - xtextList.add(PrimitiveShortExtensions.class); - xtextList.add(PrimitiveByteExtensions.class); - xtextList.add(PrimitiveFloatExtensions.class); - xtextList.add(PrimitiveIntExtensions.class); - xtextList.add(PrimitiveDoubleExtensions.class); - xtextList.add(PrimitiveLongExtensions.class); - xtextList.add(ShortExtensions.class); - xtextList.add(LongExtensions.class); - xtextList.add(FloatExtensions.class); - xtextList.add(ByteExtensions.class); - xtextList.add(IntegerExtensions.class); - xtextList.add(DoubleExtensions.class); - xtextList.add(AtomicLongExtensions.class); - xtextList.add(AtomicIntegerExtensions.class); - xtextList.add(NumberExtensions.class); + // Add features related to numbers. + this.numberOperatorFeatures.getImportedFeatures(xtextList); + this.numberCastFeatures.getImportedFeatures(xtextList); + return xtextList; } diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerCastExtensions.java new file mode 100644 index 0000000000..ebccc78d99 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerCastExtensions.java @@ -0,0 +1,140 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code AtomicInteger}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class AtomicIntegerCastExtensions { + + private AtomicIntegerCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code float}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code float} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)(int)b)", imported = Math.class) + public static float toFloat(AtomicInteger a) { + return a.intValue(); + } + + /** Convert the given value to {@code byte}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code byte} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.byteValue(), ($2)(byte)b)", imported = Math.class) + public static byte toByte(AtomicInteger a) { + return a.byteValue(); + } + + /** Convert the given value to {@code long}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code long} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)(int)b)", imported = Math.class) + public static long toLong(AtomicInteger a) { + return a.intValue(); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicLong toAtomicLong(AtomicInteger a) { + return new AtomicLong(a.intValue()); + } + + /** Convert the given value to {@code double}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code double} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)(int)b)", imported = Math.class) + public static double toDouble(AtomicInteger a) { + return a.intValue(); + } + + /** Convert the given value to {@code int}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code int} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)(int)b)", imported = Math.class) + public static int toInt(AtomicInteger a) { + return a.intValue(); + } + + /** Convert the given value to {@code short}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code short} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.shortValue(), ($2)(short)b)", imported = Math.class) + public static short toShort(AtomicInteger a) { + return a.shortValue(); + } + + /** Convert the given value to {@code Integer}. + * + * @param a a number of {@code AtomicInteger} type. + * @return the equivalent value to {@code a} of {@code Integer} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static Integer toInteger(AtomicInteger a) { + return Integer.valueOf(a.intValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerOperatorExtensions.java similarity index 63% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerOperatorExtensions.java index c4d4334083..3ed4b7183b 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicIntegerOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code AtomicInteger}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class AtomicIntegerExtensions { +public final class AtomicIntegerOperatorExtensions { - private AtomicIntegerExtensions() { + private AtomicIntegerOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).intValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static int operator_minus(AtomicInteger i) { return -i.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, int b) { - return a.intValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(AtomicInteger a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(AtomicInteger a, byte b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, short b) { - return a.intValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(AtomicInteger a, int b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, byte b) { - return a.intValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(AtomicInteger a, short b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(AtomicInteger a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(AtomicInteger a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Short b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicInteger a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Integer b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(AtomicInteger a, Byte b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(AtomicInteger a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(AtomicInteger a, Integer b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Byte b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(AtomicInteger a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(AtomicInteger a, Short b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, AtomicInteger b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(AtomicInteger a, AtomicInteger b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicInteger a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicInteger a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(AtomicInteger a, int b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(AtomicInteger a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, byte b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(AtomicInteger a, short b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, int b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(AtomicInteger a, byte b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, short b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(AtomicInteger a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(AtomicInteger a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(AtomicInteger a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(AtomicInteger a, Short b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(AtomicInteger a, Integer b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Byte b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(AtomicInteger a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicInteger a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Integer b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(AtomicInteger a, Byte b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(AtomicInteger a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, Short b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(AtomicInteger a, AtomicInteger b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, AtomicInteger b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicInteger a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicInteger a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, int b) { - return a.intValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, byte b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, short b) { - return a.intValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, int b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, byte b) { - return a.intValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, short b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Short b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Integer b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Byte b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Integer b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Byte b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, Short b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, AtomicInteger b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, AtomicInteger b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicInteger a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicInteger a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(AtomicInteger a, int b) { - return a.intValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(AtomicInteger a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, byte b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(AtomicInteger a, short b) { - return a.intValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, int b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(AtomicInteger a, byte b) { - return a.intValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, short b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(AtomicInteger a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(AtomicInteger a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(AtomicInteger a, Short b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(AtomicInteger a, Integer b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Byte b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(AtomicInteger a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicInteger a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Integer b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(AtomicInteger a, Byte b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(AtomicInteger a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, Short b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(AtomicInteger a, AtomicInteger b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, AtomicInteger b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicInteger a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicInteger a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, int b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(AtomicInteger a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(AtomicInteger a, byte b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, short b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(AtomicInteger a, int b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, byte b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(AtomicInteger a, short b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(AtomicInteger a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(AtomicInteger a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(AtomicInteger a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Short b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicInteger a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Integer b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(AtomicInteger a, Byte b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(AtomicInteger a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(AtomicInteger a, Integer b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Byte b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(AtomicInteger a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(AtomicInteger a, Short b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, AtomicInteger b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(AtomicInteger a, AtomicInteger b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicInteger a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicInteger a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, int b) { - return a.intValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, byte b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, short b) { - return a.intValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, int b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, byte b) { - return a.intValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, short b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Short b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Integer b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Byte b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Integer b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Byte b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, Short b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, AtomicInteger b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, AtomicInteger b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicInteger a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicInteger a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, int b) { - return a.intValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(AtomicInteger a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(AtomicInteger a, byte b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, short b) { - return a.intValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(AtomicInteger a, int b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, byte b) { - return a.intValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(AtomicInteger a, short b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(AtomicInteger a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(AtomicInteger a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Short b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicInteger a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Integer b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(AtomicInteger a, Byte b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(AtomicInteger a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(AtomicInteger a, Integer b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Byte b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(AtomicInteger a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(AtomicInteger a, Short b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, AtomicInteger b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(AtomicInteger a, AtomicInteger b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicInteger a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicInteger a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, int b) { - return a.intValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, byte b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, short b) { - return a.intValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, int b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, byte b) { - return a.intValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, short b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Short b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Integer b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Byte b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Integer b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Byte b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, Short b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, AtomicInteger b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, AtomicInteger b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicInteger a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicInteger a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(AtomicInteger a, int b) { - return a.intValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(AtomicInteger a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, byte b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(AtomicInteger a, short b) { - return a.intValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, int b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(AtomicInteger a, byte b) { - return a.intValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, short b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(AtomicInteger a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(AtomicInteger a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(AtomicInteger a, Short b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(AtomicInteger a, Integer b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Byte b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(AtomicInteger a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicInteger a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Integer b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(AtomicInteger a, Byte b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(AtomicInteger a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, Short b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(AtomicInteger a, AtomicInteger b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, AtomicInteger b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicInteger a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicInteger a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, int b) { - return a.intValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(AtomicInteger a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(AtomicInteger a, byte b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, short b) { - return a.intValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(AtomicInteger a, int b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, byte b) { - return a.intValue() >= b; + @Pure + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(AtomicInteger a, short b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(AtomicInteger a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(AtomicInteger a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Short b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicInteger a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Integer b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(AtomicInteger a, Byte b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(AtomicInteger a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(AtomicInteger a, Integer b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Byte b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(AtomicInteger a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(AtomicInteger a, Short b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, AtomicInteger b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(AtomicInteger a, AtomicInteger b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicInteger a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicInteger a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(AtomicInteger a, int b) { - return a.intValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(AtomicInteger a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(AtomicInteger a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(AtomicInteger a, byte b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(AtomicInteger a, short b) { - return a.intValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(AtomicInteger a, int b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(AtomicInteger a, byte b) { - return a.intValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(AtomicInteger a, short b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(AtomicInteger a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(AtomicInteger a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(AtomicInteger a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(AtomicInteger a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(AtomicInteger a, Short b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicInteger a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(AtomicInteger a, Integer b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(AtomicInteger a, Byte b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(AtomicInteger a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(AtomicInteger a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicInteger a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(AtomicInteger a, Integer b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(AtomicInteger a, Byte b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(AtomicInteger a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(AtomicInteger a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(AtomicInteger a, Short b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(AtomicInteger a, AtomicInteger b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(AtomicInteger a, AtomicInteger b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicInteger a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicInteger a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(AtomicInteger a, int b) { - return a.intValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(AtomicInteger a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, byte b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(AtomicInteger a, short b) { - return a.intValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, int b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(AtomicInteger a, byte b) { - return a.intValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, short b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(AtomicInteger a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(AtomicInteger a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(AtomicInteger a, Short b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(AtomicInteger a, Integer b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Byte b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(AtomicInteger a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicInteger a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Integer b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(AtomicInteger a, Byte b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(AtomicInteger a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, Short b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(AtomicInteger a, AtomicInteger b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, AtomicInteger b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicInteger a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicInteger a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongCastExtensions.java new file mode 100644 index 0000000000..eb1901b6f0 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongCastExtensions.java @@ -0,0 +1,140 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code AtomicLong}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class AtomicLongCastExtensions { + + private AtomicLongCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code short}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code short} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.shortValue(), ($2)(short)b)", imported = Math.class) + public static short toShort(AtomicLong a) { + return a.shortValue(); + } + + /** Convert the given value to {@code Integer}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code Integer} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static Integer toInteger(AtomicLong a) { + return Integer.valueOf(a.intValue()); + } + + /** Convert the given value to {@code float}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code float} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)(long)b)", imported = Math.class) + public static float toFloat(AtomicLong a) { + return a.longValue(); + } + + /** Convert the given value to {@code byte}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code byte} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.byteValue(), ($2)(byte)b)", imported = Math.class) + public static byte toByte(AtomicLong a) { + return a.byteValue(); + } + + /** Convert the given value to {@code long}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code long} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)(long)b)", imported = Math.class) + public static long toLong(AtomicLong a) { + return a.longValue(); + } + + /** Convert the given value to {@code double}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code double} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)(long)b)", imported = Math.class) + public static double toDouble(AtomicLong a) { + return a.longValue(); + } + + /** Convert the given value to {@code int}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code int} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)(int)b)", imported = Math.class) + public static int toInt(AtomicLong a) { + return a.intValue(); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code AtomicLong} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(AtomicLong a) { + return new AtomicInteger(a.intValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongOperatorExtensions.java similarity index 63% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongOperatorExtensions.java index 3702a22dbc..629e63cbc4 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicLongOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code AtomicLong}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class AtomicLongExtensions { +public final class AtomicLongOperatorExtensions { - private AtomicLongExtensions() { + private AtomicLongOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).longValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static long operator_minus(AtomicLong i) { return -i.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, int b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(AtomicLong a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(AtomicLong a, byte b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, short b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(AtomicLong a, int b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, byte b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(AtomicLong a, short b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(AtomicLong a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(AtomicLong a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Short b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Integer b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, Byte b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(AtomicLong a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, Integer b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Byte b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(AtomicLong a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, Short b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, AtomicInteger b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, AtomicInteger b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(AtomicLong a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(AtomicLong a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(AtomicLong a, int b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(AtomicLong a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, byte b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(AtomicLong a, short b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, int b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(AtomicLong a, byte b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, short b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(AtomicLong a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(AtomicLong a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(AtomicLong a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, Short b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, Integer b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Byte b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(AtomicLong a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Integer b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, Byte b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(AtomicLong a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, Short b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, AtomicInteger b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, AtomicInteger b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(AtomicLong a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(AtomicLong a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, int b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, byte b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, short b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, int b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, byte b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, short b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(AtomicLong a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Short b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Integer b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Byte b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Integer b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Byte b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, Short b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, AtomicInteger b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, AtomicInteger b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(AtomicLong a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(AtomicLong a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(AtomicLong a, int b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(AtomicLong a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, byte b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(AtomicLong a, short b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, int b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(AtomicLong a, byte b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, short b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(AtomicLong a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(AtomicLong a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, Short b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, Integer b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Byte b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(AtomicLong a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Integer b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, Byte b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(AtomicLong a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, Short b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, AtomicInteger b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, AtomicInteger b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(AtomicLong a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(AtomicLong a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, int b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(AtomicLong a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(AtomicLong a, byte b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, short b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(AtomicLong a, int b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, byte b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(AtomicLong a, short b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(AtomicLong a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(AtomicLong a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(AtomicLong a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Short b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Integer b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, Byte b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(AtomicLong a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, Integer b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Byte b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(AtomicLong a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(AtomicLong a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, Short b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, AtomicInteger b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, AtomicInteger b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(AtomicLong a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(AtomicLong a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, int b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, byte b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, short b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, int b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, byte b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, short b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Short b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Integer b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Byte b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Integer b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Byte b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, Short b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, AtomicInteger b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, AtomicInteger b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(AtomicLong a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(AtomicLong a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, int b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(AtomicLong a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(AtomicLong a, byte b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, short b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(AtomicLong a, int b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, byte b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(AtomicLong a, short b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(AtomicLong a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(AtomicLong a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Short b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Integer b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, Byte b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(AtomicLong a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, Integer b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Byte b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(AtomicLong a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, Short b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, AtomicInteger b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, AtomicInteger b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(AtomicLong a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(AtomicLong a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, int b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, byte b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, short b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, int b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, byte b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, short b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(AtomicLong a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Short b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Integer b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Byte b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Integer b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Byte b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, Short b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, AtomicInteger b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, AtomicInteger b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(AtomicLong a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(AtomicLong a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(AtomicLong a, int b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(AtomicLong a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, byte b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(AtomicLong a, short b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, int b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(AtomicLong a, byte b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, short b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(AtomicLong a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(AtomicLong a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, Short b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, Integer b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Byte b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(AtomicLong a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Integer b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, Byte b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(AtomicLong a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, Short b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, AtomicInteger b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, AtomicInteger b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(AtomicLong a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(AtomicLong a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, int b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(AtomicLong a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(AtomicLong a, byte b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, short b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(AtomicLong a, int b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, byte b) { - return a.longValue() >= b; + @Pure + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(AtomicLong a, short b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(AtomicLong a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(AtomicLong a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Short b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Integer b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, Byte b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(AtomicLong a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, Integer b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Byte b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(AtomicLong a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, Short b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, AtomicInteger b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, AtomicInteger b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(AtomicLong a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(AtomicLong a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(AtomicLong a, int b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(AtomicLong a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(AtomicLong a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(AtomicLong a, byte b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(AtomicLong a, short b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(AtomicLong a, int b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(AtomicLong a, byte b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(AtomicLong a, short b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(AtomicLong a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(AtomicLong a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(AtomicLong a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(AtomicLong a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, Short b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, Integer b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, Byte b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(AtomicLong a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(AtomicLong a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, Integer b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, Byte b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(AtomicLong a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(AtomicLong a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, Short b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, AtomicInteger b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, AtomicInteger b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(AtomicLong a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(AtomicLong a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(AtomicLong a, int b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(AtomicLong a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, byte b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(AtomicLong a, short b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, int b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(AtomicLong a, byte b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, short b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(AtomicLong a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(AtomicLong a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, Short b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, Integer b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Byte b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(AtomicLong a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Integer b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, Byte b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(AtomicLong a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, Short b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, AtomicInteger b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, AtomicInteger b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(AtomicLong a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(AtomicLong a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicNumbersExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicNumbersExtensions.java deleted file mode 100644 index 94bb7472b4..0000000000 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/AtomicNumbersExtensions.java +++ /dev/null @@ -1,94 +0,0 @@ -/* - * $Id$ - * - * SARL is an general-purpose agent programming language. - * More details on http://www.sarl.io - * - * Copyright (C) 2014-2017 the original authors or authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package io.sarl.lang.scoping.numbers; - -import java.util.concurrent.atomic.AtomicInteger; -import java.util.concurrent.atomic.AtomicLong; - -import org.eclipse.xtext.xbase.lib.Inline; - -/** Provide static operators for atomic numbers. - * - * @author $Author: sgalland$ - * @version $FullVersion$ - * @mavengroupid $GroupId$ - * @mavenartifactid $ArtifactId$ - * @since 0.7 - * @see "https://github.com/eclipse/xtext-extras/issues/186" - */ -@SuppressWarnings("all") -public final class AtomicNumbersExtensions { - - private AtomicNumbersExtensions() { - // - } - - /** - *The postfix decrement operator. This is the equivalent to the Java's -- postfix function. - * - * @param i a number. - * @return i-- - *@since 2.6 - */ - @Inline(value = "($1).getAndDecrement()") - public static int operator_minusMinus(AtomicInteger i) { - return i.getAndDecrement(); - } - - /** - *The postfix decrement operator. This is the equivalent to the Java's -- postfix function. - * - * @param i a number. - * @return i-- - *@since 2.6 - */ - @Inline(value = "($1).getAndDecrement()") - public static long operator_minusMinus(AtomicLong i) { - return i.getAndDecrement(); - } - - /** - *The postfix increment operator. This is the equivalent to the Java's ++ postfix function. - * - * @param i a number. - * @return i++ - *@since 2.6 - */ - @Inline(value = "($1).getAndIncrement()") - public static int operator_plusPlus(AtomicInteger i) { - return i.getAndIncrement(); - } - - /** - *The postfix increment operator. This is the equivalent to the Java's ++ postfix function. - * - * @param i a number. - * @return i++ - *@since 2.6 - */ - @Inline(value = "($1).getAndIncrement()") - public static long operator_plusPlus(AtomicLong i) { - return i.getAndIncrement(); - } - -} - diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteCastExtensions.java new file mode 100644 index 0000000000..f1050e98da --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Byte}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class ByteCastExtensions { + + private ByteCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Byte} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.byteValue(), ($2)b.byteValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Byte a) { + return new AtomicLong(a.byteValue()); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Byte} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.byteValue(), ($2)b.byteValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Byte a) { + return new AtomicInteger(a.byteValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteOperatorExtensions.java index 443b90c430..b4fda0302d 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ByteOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Byte}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class ByteExtensions { +public final class ByteOperatorExtensions { - private ByteExtensions() { + private ByteOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).byteValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static int operator_minus(Byte i) { return -i.byteValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, int b) { - return a.intValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Byte a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).byteValue() + $2)", constantExpression=true) + public static int operator_plus(Byte a, byte b) { + return a.byteValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, short b) { - return a.shortValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(Byte a, int b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).byteValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, byte b) { - return a.byteValue() != b; + @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) + public static int operator_plus(Byte a, short b) { + return a.shortValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Byte a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Byte a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Byte a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Short b) { - return a.shortValue() != b.shortValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Byte a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Integer b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).byteValue() + ($2).byteValue())", constantExpression=true) + public static int operator_plus(Byte a, Byte b) { + return a.byteValue() + b.byteValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Byte a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Byte a, Integer b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).byteValue() != ($2).byteValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Byte b) { - return a.byteValue() != b.byteValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Byte a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) + public static int operator_plus(Byte a, Short b) { + return a.shortValue() + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, AtomicInteger b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Byte a, AtomicInteger b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Byte a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Byte a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(Byte a, int b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Byte a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).byteValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, byte b) { + return Math.pow(a.byteValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) - public static int operator_divide(Byte a, short b) { - return a.shortValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, int b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).byteValue() / $2)", constantExpression=true) - public static int operator_divide(Byte a, byte b) { - return a.byteValue() / b; + @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, short b) { + return Math.pow(a.shortValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Byte a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Byte a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Byte a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) - public static int operator_divide(Byte a, Short b) { - return a.shortValue() / b.shortValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Byte a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Byte a, Integer b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).byteValue(), ($2).byteValue())", imported = Math.class) + public static double operator_power(Byte a, Byte b) { + return Math.pow(a.byteValue(), b.byteValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Byte a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Byte a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Byte a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Byte a, Integer b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).byteValue() / ($2).byteValue())", constantExpression=true) - public static int operator_divide(Byte a, Byte b) { - return a.byteValue() / b.byteValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Byte a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Byte a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) + public static double operator_power(Byte a, Short b) { + return Math.pow(a.shortValue(), b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Byte a, AtomicInteger b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Byte a, AtomicInteger b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Byte a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Byte a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, int b) { - return a.intValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).byteValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, byte b) { + return a.byteValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, short b) { - return a.shortValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, int b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).byteValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, byte b) { - return a.byteValue() == b; + @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, short b) { + return a.shortValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Byte a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Short b) { - return a.shortValue() == b.shortValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Integer b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).byteValue() >= ($2).byteValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Byte b) { + return a.byteValue() >= b.byteValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Integer b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).byteValue() == ($2).byteValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Byte b) { - return a.byteValue() == b.byteValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Byte a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, Short b) { + return a.shortValue() >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Byte a, AtomicInteger b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, AtomicInteger b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Byte a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Byte a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(Byte a, int b) { - return a.intValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Byte a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).byteValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, byte b) { + return a.byteValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) - public static int operator_multiply(Byte a, short b) { - return a.shortValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, int b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).byteValue() * $2)", constantExpression=true) - public static int operator_multiply(Byte a, byte b) { - return a.byteValue() * b; + @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, short b) { + return a.shortValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Byte a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Byte a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Byte a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(Byte a, Short b) { - return a.shortValue() * b.shortValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Byte a, Integer b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).byteValue() != ($2).byteValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Byte b) { + return a.byteValue() != b.byteValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Byte a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Byte a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Integer b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).byteValue() * ($2).byteValue())", constantExpression=true) - public static int operator_multiply(Byte a, Byte b) { - return a.byteValue() * b.byteValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Byte a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, Short b) { + return a.shortValue() != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Byte a, AtomicInteger b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, AtomicInteger b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Byte a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Byte a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, int b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Byte a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).byteValue() / $2)", constantExpression=true) + public static int operator_divide(Byte a, byte b) { + return a.byteValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, short b) { - return Math.pow(a.shortValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(Byte a, int b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).byteValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, byte b) { - return Math.pow(a.byteValue(), b); + @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) + public static int operator_divide(Byte a, short b) { + return a.shortValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Byte a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Byte a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Byte a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) - public static double operator_power(Byte a, Short b) { - return Math.pow(a.shortValue(), b.shortValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Byte a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Byte a, Integer b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).byteValue() / ($2).byteValue())", constantExpression=true) + public static int operator_divide(Byte a, Byte b) { + return a.byteValue() / b.byteValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Byte a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Byte a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Byte a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Byte a, Integer b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).byteValue(), ($2).byteValue())", imported = Math.class) - public static double operator_power(Byte a, Byte b) { - return Math.pow(a.byteValue(), b.byteValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Byte a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Byte a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) + public static int operator_divide(Byte a, Short b) { + return a.shortValue() / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Byte a, AtomicInteger b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Byte a, AtomicInteger b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Byte a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Byte a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, int b) { - return a.intValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).byteValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, byte b) { + return a.byteValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, short b) { - return a.shortValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, int b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).byteValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, byte b) { - return a.byteValue() < b; + @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, short b) { + return a.shortValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Byte a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Short b) { - return a.shortValue() < b.shortValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Integer b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).byteValue() <= ($2).byteValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Byte b) { + return a.byteValue() <= b.byteValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Integer b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).byteValue() < ($2).byteValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Byte b) { - return a.byteValue() < b.byteValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, Short b) { + return a.shortValue() <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, AtomicInteger b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, AtomicInteger b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Byte a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Byte a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, int b) { - return a.intValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Byte a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).byteValue() * $2)", constantExpression=true) + public static int operator_multiply(Byte a, byte b) { + return a.byteValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, short b) { - return a.shortValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(Byte a, int b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).byteValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, byte b) { - return a.byteValue() > b; + @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) + public static int operator_multiply(Byte a, short b) { + return a.shortValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Byte a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Byte a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Byte a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Short b) { - return a.shortValue() > b.shortValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Byte a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Integer b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).byteValue() * ($2).byteValue())", constantExpression=true) + public static int operator_multiply(Byte a, Byte b) { + return a.byteValue() * b.byteValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Byte a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Byte a, Integer b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).byteValue() > ($2).byteValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Byte b) { - return a.byteValue() > b.byteValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Byte a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(Byte a, Short b) { + return a.shortValue() * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, AtomicInteger b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Byte a, AtomicInteger b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Byte a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Byte a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, int b) { - return a.intValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).byteValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, byte b) { + return a.byteValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, short b) { - return a.shortValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, int b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).byteValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, byte b) { - return a.byteValue() <= b; + @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, short b) { + return a.shortValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Byte a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Short b) { - return a.shortValue() <= b.shortValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Integer b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).byteValue() == ($2).byteValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Byte b) { + return a.byteValue() == b.byteValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Integer b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).byteValue() <= ($2).byteValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Byte b) { - return a.byteValue() <= b.byteValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(Byte a, Short b) { + return a.shortValue() == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, AtomicInteger b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Byte a, AtomicInteger b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Byte a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Byte a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(Byte a, int b) { - return a.intValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Byte a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).byteValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, byte b) { + return a.byteValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) - public static int operator_modulo(Byte a, short b) { - return a.shortValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, int b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).byteValue() % $2)", constantExpression=true) - public static int operator_modulo(Byte a, byte b) { - return a.byteValue() % b; + @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, short b) { + return a.shortValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Byte a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Byte a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Byte a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(Byte a, Short b) { - return a.shortValue() % b.shortValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Byte a, Integer b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).byteValue() > ($2).byteValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Byte b) { + return a.byteValue() > b.byteValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Byte a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Byte a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Integer b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).byteValue() % ($2).byteValue())", constantExpression=true) - public static int operator_modulo(Byte a, Byte b) { - return a.byteValue() % b.byteValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Byte a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, Short b) { + return a.shortValue() > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Byte a, AtomicInteger b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, AtomicInteger b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Byte a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Byte a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, int b) { - return a.intValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Byte a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).byteValue() % $2)", constantExpression=true) + public static int operator_modulo(Byte a, byte b) { + return a.byteValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, short b) { - return a.shortValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(Byte a, int b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).byteValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, byte b) { - return a.byteValue() >= b; + @Pure + @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) + public static int operator_modulo(Byte a, short b) { + return a.shortValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Byte a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Byte a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Short b) { - return a.shortValue() >= b.shortValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Byte a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Integer b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).byteValue() % ($2).byteValue())", constantExpression=true) + public static int operator_modulo(Byte a, Byte b) { + return a.byteValue() % b.byteValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Byte a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Byte a, Integer b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).byteValue() >= ($2).byteValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Byte b) { - return a.byteValue() >= b.byteValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Byte a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(Byte a, Short b) { + return a.shortValue() % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, AtomicInteger b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Byte a, AtomicInteger b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Byte a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Byte a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(Byte a, int b) { - return a.intValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Byte a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Byte a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).byteValue() - $2)", constantExpression=true) + public static int operator_minus(Byte a, byte b) { + return a.byteValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) - public static int operator_plus(Byte a, short b) { - return a.shortValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(Byte a, int b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).byteValue() + $2)", constantExpression=true) - public static int operator_plus(Byte a, byte b) { - return a.byteValue() + b; + @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) + public static int operator_minus(Byte a, short b) { + return a.shortValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Byte a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Byte a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Byte a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Byte a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) - public static int operator_plus(Byte a, Short b) { - return a.shortValue() + b.shortValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Byte a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Byte a, Integer b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).byteValue() - ($2).byteValue())", constantExpression=true) + public static int operator_minus(Byte a, Byte b) { + return a.byteValue() - b.byteValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Byte a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Byte a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Byte a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Byte a, Integer b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).byteValue() + ($2).byteValue())", constantExpression=true) - public static int operator_plus(Byte a, Byte b) { - return a.byteValue() + b.byteValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Byte a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Byte a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) + public static int operator_minus(Byte a, Short b) { + return a.shortValue() - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Byte a, AtomicInteger b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Byte a, AtomicInteger b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Byte a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Byte a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(Byte a, int b) { - return a.intValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Byte a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).byteValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, byte b) { + return a.byteValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) - public static int operator_minus(Byte a, short b) { - return a.shortValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, int b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).byteValue() - $2)", constantExpression=true) - public static int operator_minus(Byte a, byte b) { - return a.byteValue() - b; + @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, short b) { + return a.shortValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Byte a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Byte a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Byte a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) - public static int operator_minus(Byte a, Short b) { - return a.shortValue() - b.shortValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Byte a, Integer b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).byteValue() < ($2).byteValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Byte b) { + return a.byteValue() < b.byteValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Byte a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Byte a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Integer b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).byteValue() - ($2).byteValue())", constantExpression=true) - public static int operator_minus(Byte a, Byte b) { - return a.byteValue() - b.byteValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Byte a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, Short b) { + return a.shortValue() < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Byte a, AtomicInteger b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, AtomicInteger b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Byte a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Byte a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleCastExtensions.java new file mode 100644 index 0000000000..a489489601 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Double}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class DoubleCastExtensions { + + private DoubleCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Double} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Double a) { + return new AtomicInteger(a.intValue()); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Double} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Double a) { + return new AtomicLong(a.longValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleOperatorExtensions.java similarity index 63% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleOperatorExtensions.java index 69dc64152d..596d9330cb 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/DoubleOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Double}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,2210 +39,2210 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class DoubleExtensions { +public final class DoubleOperatorExtensions { - private DoubleExtensions() { + private DoubleOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, int b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, long b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, long b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, byte b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, short b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, int b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, byte b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, short b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Double a, float b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Double a, float b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Short b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Long b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Integer b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Byte b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Float b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Float b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Long b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Integer b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Byte b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, Short b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, AtomicInteger b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, AtomicInteger b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Double a, AtomicLong b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Double a, AtomicLong b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, int b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, long b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, long b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, byte b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, short b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, int b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, byte b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, short b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Double a, float b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Double a, float b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Short b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Long b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Integer b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Byte b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Float b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Float b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Long b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Integer b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Byte b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, Short b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, AtomicInteger b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, AtomicInteger b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Double a, AtomicLong b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Double a, AtomicLong b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, int b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, long b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, long b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, byte b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, short b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, int b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, byte b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, short b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Double a, float b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, float b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Short b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Long b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Integer b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Byte b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Float b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Float b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Long b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Integer b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Byte b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, Short b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, AtomicInteger b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, AtomicInteger b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Double a, AtomicLong b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Double a, AtomicLong b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, int b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, long b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, long b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, byte b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, short b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, int b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, byte b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, short b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Double a, float b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Double a, float b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Short b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Long b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Integer b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Byte b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Float b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Float b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Long b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Integer b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Byte b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, Short b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, AtomicInteger b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, AtomicInteger b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Double a, AtomicLong b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Double a, AtomicLong b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, int b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, long b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, long b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, byte b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, short b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, int b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, byte b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, short b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Double a, float b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Double a, float b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Short b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Long b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Integer b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Byte b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Float b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Float b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Long b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Integer b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Byte b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, Short b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, AtomicInteger b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, AtomicInteger b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Double a, AtomicLong b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Double a, AtomicLong b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, int b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, long b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, long b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, byte b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, short b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, int b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, byte b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, short b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Double a, float b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, float b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Short b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Long b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Integer b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Byte b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Float b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Float b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Long b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Integer b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Byte b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, Short b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, AtomicInteger b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, AtomicInteger b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Double a, AtomicLong b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Double a, AtomicLong b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, int b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, long b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, long b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, byte b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, short b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, int b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, byte b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, short b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Double a, float b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Double a, float b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Short b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Long b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Integer b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Byte b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Float b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Float b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Long b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Integer b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Byte b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, Short b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, AtomicInteger b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, AtomicInteger b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Double a, AtomicLong b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Double a, AtomicLong b) { + return a.doubleValue() * b.doubleValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, int b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, long b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, long b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, byte b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, short b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, int b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, byte b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, short b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, float b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Double a, float b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Short b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Long b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Integer b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Byte b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Float b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Float b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Long b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Integer b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Byte b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, Short b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, AtomicInteger b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, AtomicInteger b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Double a, AtomicLong b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Double a, AtomicLong b) { + return a.doubleValue() == b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, int b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, long b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, long b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, byte b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, short b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, int b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, byte b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, short b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Double a, float b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Double a, float b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Short b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Long b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Integer b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Byte b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Float b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Float b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Long b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Integer b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Byte b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, Short b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, AtomicInteger b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, AtomicInteger b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Double a, AtomicLong b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Double a, AtomicLong b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, int b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, long b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, long b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, byte b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, short b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, int b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, byte b) { - return a.doubleValue() >= b; + @Pure + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, short b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, float b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Double a, float b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Short b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Long b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Integer b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Byte b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Float b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Float b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Long b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Integer b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Byte b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, Short b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, AtomicInteger b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, AtomicInteger b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Double a, AtomicLong b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Double a, AtomicLong b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, int b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, long b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, long b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, byte b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, short b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, int b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, byte b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, short b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Double a, float b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Double a, float b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Short b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Long b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Integer b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Byte b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Float b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Float b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Long b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Integer b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Byte b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, Short b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, AtomicInteger b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, AtomicInteger b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Double a, AtomicLong b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Double a, AtomicLong b) { + return a.doubleValue() - b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, int b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, long b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, long b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, byte b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, short b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, int b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, byte b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, short b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Double a, float b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Double a, float b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Short b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Long b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Integer b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Byte b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Float b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Float b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Long b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Integer b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Byte b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, Short b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, AtomicInteger b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, AtomicInteger b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Double a, AtomicLong b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Double a, AtomicLong b) { + return a.doubleValue() < b.doubleValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatCastExtensions.java new file mode 100644 index 0000000000..51410b25e4 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Float}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class FloatCastExtensions { + + private FloatCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Float} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Float a) { + return new AtomicInteger(a.intValue()); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Float} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Float a) { + return new AtomicLong(a.longValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatOperatorExtensions.java similarity index 63% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatOperatorExtensions.java index 5b076b6638..a37c939caf 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/FloatOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Float}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class FloatExtensions { +public final class FloatOperatorExtensions { - private FloatExtensions() { + private FloatOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).floatValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static float operator_minus(Float i) { return -i.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, int b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Float a, long b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, long b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Float a, byte b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, short b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Float a, int b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, byte b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Float a, short b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Float a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Float a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Float a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Short b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, Long b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Integer b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, Byte b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Long b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, Integer b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Byte b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Float a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, Short b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, AtomicInteger b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, AtomicInteger b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Float a, AtomicLong b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Float a, AtomicLong b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Float a, int b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Float a, long b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Float a, long b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Float a, byte b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Float a, short b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Float a, int b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Float a, byte b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Float a, short b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Float a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Float a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Float a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Float a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, Short b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, Long b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, Integer b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, Byte b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, Long b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, Integer b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, Byte b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Float a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Float a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, Short b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, AtomicInteger b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, AtomicInteger b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Float a, AtomicLong b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Float a, AtomicLong b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, int b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, long b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, long b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, byte b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, short b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, int b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, byte b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, short b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Float a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, Short b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Long b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, Integer b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Byte b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, Long b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Integer b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, Byte b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Float a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, Short b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, AtomicInteger b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, AtomicInteger b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Float a, AtomicLong b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Float a, AtomicLong b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Float a, int b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, long b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Float a, long b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, byte b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Float a, short b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, int b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Float a, byte b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, short b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Float a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Float a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Float a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, Short b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Long b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, Integer b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Byte b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, Long b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Integer b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, Byte b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Float a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, Short b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, AtomicInteger b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, AtomicInteger b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Float a, AtomicLong b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Float a, AtomicLong b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Float a, int b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Float a, long b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Float a, long b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Float a, byte b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Float a, short b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Float a, int b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Float a, byte b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Float a, short b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Float a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Float a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Float a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Float a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, Short b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, Long b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, Integer b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, Byte b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, Long b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, Integer b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, Byte b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Float a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Float a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, Short b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, AtomicInteger b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, AtomicInteger b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Float a, AtomicLong b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Float a, AtomicLong b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, int b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, long b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, long b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, byte b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, short b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, int b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, byte b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, short b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Float a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Short b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Long b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Integer b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Byte b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Long b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Integer b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Byte b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, Short b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, AtomicInteger b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, AtomicInteger b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Float a, AtomicLong b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Float a, AtomicLong b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, int b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Float a, long b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, long b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Float a, byte b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, short b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Float a, int b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, byte b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Float a, short b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Float a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Float a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Float a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Short b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, Long b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Integer b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, Byte b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Long b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, Integer b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Byte b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Float a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, Short b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, AtomicInteger b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, AtomicInteger b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Float a, AtomicLong b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Float a, AtomicLong b) { + return a.floatValue() * b.floatValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, int b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, long b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, long b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, byte b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, short b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, int b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, byte b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, short b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Float a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Short b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, Long b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Integer b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, Byte b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Long b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, Integer b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Byte b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Float a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, Short b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, AtomicInteger b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, AtomicInteger b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Float a, AtomicLong b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Float a, AtomicLong b) { + return a.floatValue() == b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Float a, int b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, long b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Float a, long b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, byte b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Float a, short b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, int b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Float a, byte b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, short b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Float a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Float a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Float a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, Short b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Long b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, Integer b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Byte b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, Long b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Integer b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, Byte b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Float a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, Short b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, AtomicInteger b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, AtomicInteger b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Float a, AtomicLong b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Float a, AtomicLong b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, int b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Float a, long b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, long b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Float a, byte b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, short b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Float a, int b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, byte b) { - return a.floatValue() >= b; + @Pure + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Float a, short b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Float a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Float a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Short b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, Long b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Integer b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, Byte b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Long b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, Integer b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Byte b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Float a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, Short b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, AtomicInteger b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, AtomicInteger b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Float a, AtomicLong b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Float a, AtomicLong b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Float a, int b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Float a, long b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Float a, long b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Float a, byte b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Float a, short b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Float a, int b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Float a, byte b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Float a, short b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Float a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Float a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Float a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Float a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, Short b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, Long b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, Integer b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, Byte b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, Long b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, Integer b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, Byte b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Float a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Float a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, Short b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, AtomicInteger b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, AtomicInteger b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Float a, AtomicLong b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Float a, AtomicLong b) { + return a.floatValue() - b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Float a, int b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, long b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Float a, long b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, byte b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Float a, short b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, int b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Float a, byte b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, short b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Float a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Float a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Float a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, Short b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Long b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, Integer b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Byte b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, Long b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Integer b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, Byte b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Float a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, Short b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, AtomicInteger b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, AtomicInteger b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Float a, AtomicLong b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Float a, AtomicLong b) { + return a.floatValue() < b.floatValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerCastExtensions.java new file mode 100644 index 0000000000..642ada8eee --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Integer}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class IntegerCastExtensions { + + private IntegerCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Integer} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Integer a) { + return new AtomicLong(a.intValue()); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Integer} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Integer a) { + return new AtomicInteger(a.intValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerOperatorExtensions.java index eafa9a77f5..10c99dc489 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/IntegerOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Integer}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class IntegerExtensions { +public final class IntegerOperatorExtensions { - private IntegerExtensions() { + private IntegerOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).intValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static int operator_minus(Integer i) { return -i.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, int b) { - return a.intValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Integer a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(Integer a, byte b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, short b) { - return a.intValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(Integer a, int b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, byte b) { - return a.intValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(Integer a, short b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Integer a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Integer a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Integer a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Short b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Integer a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Integer b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Integer a, Byte b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Integer a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Integer a, Integer b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Byte b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Integer a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Integer a, Short b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, AtomicInteger b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Integer a, AtomicInteger b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Integer a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Integer a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(Integer a, int b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Integer a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, byte b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(Integer a, short b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, int b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(Integer a, byte b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, short b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Integer a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Integer a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Integer a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Integer a, Short b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Integer a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Integer a, Integer b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Integer a, Byte b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Integer a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Integer a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Integer a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Integer a, Integer b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Integer a, Byte b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Integer a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Integer a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Integer a, Short b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Integer a, AtomicInteger b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Integer a, AtomicInteger b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Integer a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Integer a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, int b) { - return a.intValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, byte b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, short b) { - return a.intValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, int b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, byte b) { - return a.intValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, short b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Integer a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Short b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Integer b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Byte b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Integer b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Byte b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Integer a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, Short b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Integer a, AtomicInteger b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, AtomicInteger b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Integer a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Integer a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(Integer a, int b) { - return a.intValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Integer a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, byte b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(Integer a, short b) { - return a.intValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, int b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(Integer a, byte b) { - return a.intValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, short b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Integer a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Integer a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Integer a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Integer a, Short b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Integer a, Integer b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Byte b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Integer a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Integer a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Integer b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Integer a, Byte b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Integer a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, Short b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Integer a, AtomicInteger b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, AtomicInteger b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Integer a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Integer a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, int b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Integer a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(Integer a, byte b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, short b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(Integer a, int b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, byte b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(Integer a, short b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Integer a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Integer a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Integer a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Integer a, Short b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Integer a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Integer a, Integer b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Integer a, Byte b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Integer a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Integer a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Integer a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Integer a, Integer b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Integer a, Byte b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Integer a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Integer a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Integer a, Short b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Integer a, AtomicInteger b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Integer a, AtomicInteger b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Integer a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Integer a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, int b) { - return a.intValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, byte b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, short b) { - return a.intValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, int b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, byte b) { - return a.intValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, short b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Integer a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Short b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Integer b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Byte b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Integer b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Byte b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, Short b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, AtomicInteger b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, AtomicInteger b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Integer a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Integer a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, int b) { - return a.intValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Integer a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(Integer a, byte b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, short b) { - return a.intValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(Integer a, int b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, byte b) { - return a.intValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(Integer a, short b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Integer a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Integer a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Integer a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Short b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Integer a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Integer b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Integer a, Byte b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Integer a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Integer a, Integer b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Byte b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Integer a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Integer a, Short b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, AtomicInteger b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Integer a, AtomicInteger b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Integer a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Integer a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, int b) { - return a.intValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, byte b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, short b) { - return a.intValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, int b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, byte b) { - return a.intValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, short b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Integer a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Short b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Integer b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Byte b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Integer b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Byte b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Integer a, Short b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, AtomicInteger b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Integer a, AtomicInteger b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Integer a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Integer a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(Integer a, int b) { - return a.intValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Integer a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, byte b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(Integer a, short b) { - return a.intValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, int b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(Integer a, byte b) { - return a.intValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, short b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Integer a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Integer a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Integer a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Integer a, Short b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Integer a, Integer b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Byte b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Integer a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Integer a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Integer b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Integer a, Byte b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Integer a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, Short b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Integer a, AtomicInteger b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, AtomicInteger b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Integer a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Integer a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, int b) { - return a.intValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Integer a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(Integer a, byte b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, short b) { - return a.intValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(Integer a, int b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, byte b) { - return a.intValue() >= b; + @Pure + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(Integer a, short b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Integer a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Integer a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Short b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Integer a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Integer b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Integer a, Byte b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Integer a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Integer a, Integer b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Byte b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Integer a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Integer a, Short b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, AtomicInteger b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Integer a, AtomicInteger b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Integer a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Integer a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(Integer a, int b) { - return a.intValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Integer a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Integer a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(Integer a, byte b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(Integer a, short b) { - return a.intValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(Integer a, int b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(Integer a, byte b) { - return a.intValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(Integer a, short b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Integer a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Integer a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Integer a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Integer a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Integer a, Short b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Integer a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Integer a, Integer b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Integer a, Byte b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Integer a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Integer a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Integer a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Integer a, Integer b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Integer a, Byte b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Integer a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Integer a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Integer a, Short b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Integer a, AtomicInteger b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Integer a, AtomicInteger b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Integer a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Integer a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(Integer a, int b) { - return a.intValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Integer a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, byte b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(Integer a, short b) { - return a.intValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, int b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(Integer a, byte b) { - return a.intValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, short b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Integer a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Integer a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Integer a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Integer a, Short b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Integer a, Integer b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Byte b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Integer a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Integer a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Integer b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Integer a, Byte b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Integer a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, Short b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Integer a, AtomicInteger b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, AtomicInteger b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Integer a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Integer a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongCastExtensions.java new file mode 100644 index 0000000000..bda0b3e1ff --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Long}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class LongCastExtensions { + + private LongCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Long} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.longValue(), ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Long a) { + return new AtomicLong(a.longValue()); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Long} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.intValue(), ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Long a) { + return new AtomicInteger(a.intValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongOperatorExtensions.java index c78ae0e84a..c12f83ead5 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/LongOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Long}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class LongExtensions { +public final class LongOperatorExtensions { - private LongExtensions() { + private LongOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).longValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static long operator_minus(Long i) { return -i.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, int b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Long a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Long a, byte b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, short b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Long a, int b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, byte b) { - return a.longValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Long a, short b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Long a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Long a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Long a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Short b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Integer b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, Byte b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Long a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, Integer b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Byte b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Long a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, Short b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, AtomicInteger b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, AtomicInteger b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Long a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Long a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Long a, int b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Long a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Long a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Long a, byte b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Long a, short b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Long a, int b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Long a, byte b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Long a, short b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Long a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Long a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Long a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Long a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, Short b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, Integer b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, Byte b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Long a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Long a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, Integer b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, Byte b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Long a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Long a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, Short b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, AtomicInteger b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, AtomicInteger b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Long a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Long a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, int b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, byte b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, short b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, int b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, byte b) { - return a.longValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, short b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Long a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, Short b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, Integer b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Byte b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Long a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Integer b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, Byte b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Long a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, Short b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, AtomicInteger b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, AtomicInteger b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Long a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Long a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Long a, int b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Long a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, byte b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Long a, short b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, int b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Long a, byte b) { - return a.longValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, short b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Long a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Long a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Long a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, Short b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, Integer b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Byte b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Long a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Integer b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, Byte b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Long a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, Short b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, AtomicInteger b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, AtomicInteger b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Long a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Long a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Long a, int b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Long a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Long a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Long a, byte b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Long a, short b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Long a, int b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Long a, byte b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Long a, short b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Long a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Long a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Long a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Long a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, Short b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, Integer b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, Byte b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Long a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Long a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, Integer b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, Byte b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Long a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Long a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, Short b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, AtomicInteger b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, AtomicInteger b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Long a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Long a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, int b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, byte b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, short b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, int b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, byte b) { - return a.longValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, short b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Long a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Short b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Integer b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Byte b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Integer b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Byte b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, Short b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, AtomicInteger b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, AtomicInteger b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Long a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Long a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, int b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Long a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Long a, byte b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, short b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Long a, int b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, byte b) { - return a.longValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Long a, short b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Long a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Long a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Long a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Short b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Integer b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, Byte b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Long a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, Integer b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Byte b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Long a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, Short b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, AtomicInteger b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, AtomicInteger b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Long a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Long a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, int b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, byte b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, short b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, int b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, byte b) { - return a.longValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, short b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Long a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Short b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Integer b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, Byte b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Long a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, Integer b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Byte b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Long a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, Short b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, AtomicInteger b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, AtomicInteger b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Long a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Long a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Long a, int b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Long a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, byte b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Long a, short b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, int b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Long a, byte b) { - return a.longValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, short b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Long a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Long a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Long a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, Short b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, Integer b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Byte b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Long a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Integer b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, Byte b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Long a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, Short b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, AtomicInteger b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, AtomicInteger b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Long a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Long a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, int b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Long a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Long a, byte b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, short b) { - return a.longValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Long a, int b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, byte b) { - return a.longValue() >= b; + @Pure + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Long a, short b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Long a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Long a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Short b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Integer b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, Byte b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Long a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, Integer b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Byte b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Long a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, Short b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, AtomicInteger b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, AtomicInteger b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Long a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Long a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Long a, int b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Long a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Long a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Long a, byte b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Long a, short b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Long a, int b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Long a, byte b) { - return a.longValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Long a, short b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Long a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Long a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Long a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Long a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, Short b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, Integer b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, Byte b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Long a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Long a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, Integer b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, Byte b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Long a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Long a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, Short b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, AtomicInteger b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, AtomicInteger b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Long a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Long a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Long a, int b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Long a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, byte b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Long a, short b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, int b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Long a, byte b) { - return a.longValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, short b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Long a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Long a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Long a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, Short b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, Integer b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Byte b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Long a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Integer b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, Byte b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Long a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, Short b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, AtomicInteger b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, AtomicInteger b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Long a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Long a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberCastImplicitlyImportedFeatures.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberCastImplicitlyImportedFeatures.java new file mode 100644 index 0000000000..d3ea958a30 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberCastImplicitlyImportedFeatures.java @@ -0,0 +1,64 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.List; + +import com.google.inject.Singleton; + +/** Provide static functions related to the casting of numbers. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/sarl/sarl/issues/767" + */ +@Singleton +public class NumberCastImplicitlyImportedFeatures { + + /** Fill the given list with the implicitly imported features. + * + * @param features the list to fill. + */ + @SuppressWarnings("static-method") + public void getImportedFeatures(List> features) { + features.add(IntegerCastExtensions.class); + features.add(PrimitiveShortCastExtensions.class); + features.add(AtomicLongCastExtensions.class); + features.add(LongCastExtensions.class); + features.add(AtomicIntegerCastExtensions.class); + features.add(PrimitiveByteCastExtensions.class); + features.add(PrimitiveDoubleCastExtensions.class); + features.add(ShortCastExtensions.class); + features.add(ByteCastExtensions.class); + features.add(PrimitiveFloatCastExtensions.class); + features.add(FloatCastExtensions.class); + features.add(DoubleCastExtensions.class); + features.add(PrimitiveLongCastExtensions.class); + features.add(PrimitiveIntCastExtensions.class); + } + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorExtensions.java similarity index 69% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorExtensions.java index 8494ca454f..2a60793f3f 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorExtensions.java @@ -19,12 +19,14 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Number}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -34,169 +36,169 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class NumberExtensions { +public final class NumberOperatorExtensions { - private NumberExtensions() { + private NumberOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Number a, Number b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Number a, Number b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Number a, Number b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Number a, Number b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Number a, Number b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Number a, Number b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Number a, Number b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Number a, Number b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Number a, Number b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Number a, Number b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Number a, Number b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Number a, Number b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Number a, Number b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Number a, Number b) { + return a.doubleValue() * b.doubleValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Number a, Number b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Number a, Number b) { + return a.doubleValue() == b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Number a, Number b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Number a, Number b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Number a, Number b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Number a, Number b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Number a, Number b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Number a, Number b) { + return a.doubleValue() - b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Number a, Number b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Number a, Number b) { + return a.doubleValue() < b.doubleValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorImplicitlyImportedFeatures.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorImplicitlyImportedFeatures.java new file mode 100644 index 0000000000..f4316b6abc --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/NumberOperatorImplicitlyImportedFeatures.java @@ -0,0 +1,69 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.List; + +import com.google.inject.Singleton; + +/** Provide static functions related to the operators on numbers. + * + *

The following extensions have been added due to issue: + * Xtext Issue 186. + * Since the possible patch was discarded from Xbase, these extensions are present within SARL. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@Singleton +public class NumberOperatorImplicitlyImportedFeatures { + + /** Fill the given list with the implicitly imported features. + * + * @param features the list to fill. + */ + @SuppressWarnings("static-method") + public void getImportedFeatures(List> features) { + features.add(PrimitiveByteOperatorExtensions.class); + features.add(PrimitiveIntOperatorExtensions.class); + features.add(PrimitiveShortOperatorExtensions.class); + features.add(PrimitiveDoubleOperatorExtensions.class); + features.add(PrimitiveFloatOperatorExtensions.class); + features.add(PrimitiveLongOperatorExtensions.class); + features.add(IntegerOperatorExtensions.class); + features.add(ShortOperatorExtensions.class); + features.add(DoubleOperatorExtensions.class); + features.add(FloatOperatorExtensions.class); + features.add(ByteOperatorExtensions.class); + features.add(LongOperatorExtensions.class); + features.add(AtomicLongOperatorExtensions.class); + features.add(AtomicIntegerOperatorExtensions.class); + features.add(NumberOperatorExtensions.class); + } + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteCastExtensions.java new file mode 100644 index 0000000000..6a6b872658 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code byte}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveByteCastExtensions { + + private PrimitiveByteCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code byte} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(byte)a, ($2)b.byteValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(byte a) { + return new AtomicInteger((byte)a); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code byte} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(byte)a, ($2)b.byteValue())", imported = Math.class) + public static AtomicLong toAtomicLong(byte a) { + return new AtomicLong((byte)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteOperatorExtensions.java similarity index 61% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteOperatorExtensions.java index 0f11ebbdeb..0f2035ca79 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveByteOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code byte}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveByteExtensions { +public final class PrimitiveByteOperatorExtensions { - private PrimitiveByteExtensions() { + private PrimitiveByteOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Short b) { - return a != b.shortValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(byte a, Long b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Integer b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).byteValue())", constantExpression=true) + public static int operator_plus(byte a, Byte b) { + return a + b.byteValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Float b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(byte a, Float b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Long b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(byte a, Integer b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).byteValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Byte b) { - return a != b.byteValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(byte a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) + public static int operator_plus(byte a, Short b) { + return a + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, AtomicInteger b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(byte a, AtomicInteger b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(byte a, AtomicLong b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(byte a, AtomicLong b) { + return a + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) - public static int operator_divide(byte a, Short b) { - return a / b.shortValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(byte a, Long b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(byte a, Integer b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).byteValue())", imported = Math.class) + public static double operator_power(byte a, Byte b) { + return Math.pow(a, b.byteValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(byte a, Float b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(byte a, Float b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(byte a, Long b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(byte a, Integer b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).byteValue())", constantExpression=true) - public static int operator_divide(byte a, Byte b) { - return a / b.byteValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(byte a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(byte a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) + public static double operator_power(byte a, Short b) { + return Math.pow(a, b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(byte a, AtomicInteger b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(byte a, AtomicInteger b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(byte a, AtomicLong b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(byte a, AtomicLong b) { + return Math.pow(a, b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(byte a, Short b) { - return a == b.shortValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Long b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(byte a, Integer b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).byteValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Byte b) { + return a >= b.byteValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(byte a, Float b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Float b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(byte a, Long b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Integer b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).byteValue())", constantExpression=true) - public static boolean operator_equals(byte a, Byte b) { - return a == b.byteValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(byte a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, Short b) { + return a >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(byte a, AtomicInteger b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, AtomicInteger b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(byte a, AtomicLong b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(byte a, AtomicLong b) { + return a >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(byte a, Short b) { - return a * b.shortValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Long b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(byte a, Integer b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).byteValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Byte b) { + return a != b.byteValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(byte a, Float b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Float b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(byte a, Long b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Integer b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).byteValue())", constantExpression=true) - public static int operator_multiply(byte a, Byte b) { - return a * b.byteValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(byte a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, Short b) { + return a != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(byte a, AtomicInteger b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, AtomicInteger b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(byte a, AtomicLong b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(byte a, AtomicLong b) { + return a != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) - public static double operator_power(byte a, Short b) { - return Math.pow(a, b.shortValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(byte a, Long b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(byte a, Integer b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).byteValue())", constantExpression=true) + public static int operator_divide(byte a, Byte b) { + return a / b.byteValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(byte a, Float b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(byte a, Float b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(byte a, Long b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(byte a, Integer b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).byteValue())", imported = Math.class) - public static double operator_power(byte a, Byte b) { - return Math.pow(a, b.byteValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(byte a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(byte a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) + public static int operator_divide(byte a, Short b) { + return a / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(byte a, AtomicInteger b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(byte a, AtomicInteger b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(byte a, AtomicLong b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(byte a, AtomicLong b) { + return a / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Short b) { - return a < b.shortValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Long b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Integer b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).byteValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Byte b) { + return a <= b.byteValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Float b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Float b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Long b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Integer b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).byteValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Byte b) { - return a < b.byteValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, Short b) { + return a <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, AtomicInteger b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, AtomicInteger b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(byte a, AtomicLong b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(byte a, AtomicLong b) { + return a <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Short b) { - return a > b.shortValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(byte a, Long b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Integer b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).byteValue())", constantExpression=true) + public static int operator_multiply(byte a, Byte b) { + return a * b.byteValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Float b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(byte a, Float b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Long b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(byte a, Integer b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).byteValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Byte b) { - return a > b.byteValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(byte a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(byte a, Short b) { + return a * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, AtomicInteger b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(byte a, AtomicInteger b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(byte a, AtomicLong b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(byte a, AtomicLong b) { + return a * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Short b) { - return a <= b.shortValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(byte a, Long b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Integer b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).byteValue())", constantExpression=true) + public static boolean operator_equals(byte a, Byte b) { + return a == b.byteValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Float b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(byte a, Float b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Long b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(byte a, Integer b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).byteValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Byte b) { - return a <= b.byteValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(byte a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(byte a, Short b) { + return a == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, AtomicInteger b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(byte a, AtomicInteger b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(byte a, AtomicLong b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(byte a, AtomicLong b) { + return a == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(byte a, Short b) { - return a % b.shortValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Long b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(byte a, Integer b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).byteValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Byte b) { + return a > b.byteValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(byte a, Float b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Float b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(byte a, Long b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Integer b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).byteValue())", constantExpression=true) - public static int operator_modulo(byte a, Byte b) { - return a % b.byteValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(byte a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, Short b) { + return a > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(byte a, AtomicInteger b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, AtomicInteger b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(byte a, AtomicLong b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(byte a, AtomicLong b) { + return a > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Short b) { - return a >= b.shortValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(byte a, Long b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Integer b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).byteValue())", constantExpression=true) + public static int operator_modulo(byte a, Byte b) { + return a % b.byteValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Float b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(byte a, Float b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Long b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(byte a, Integer b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).byteValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Byte b) { - return a >= b.byteValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(byte a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(byte a, Short b) { + return a % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, AtomicInteger b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(byte a, AtomicInteger b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(byte a, AtomicLong b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(byte a, AtomicLong b) { + return a % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) - public static int operator_plus(byte a, Short b) { - return a + b.shortValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(byte a, Long b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(byte a, Integer b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).byteValue())", constantExpression=true) + public static int operator_minus(byte a, Byte b) { + return a - b.byteValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(byte a, Float b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(byte a, Float b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(byte a, Long b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(byte a, Integer b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).byteValue())", constantExpression=true) - public static int operator_plus(byte a, Byte b) { - return a + b.byteValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(byte a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(byte a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) + public static int operator_minus(byte a, Short b) { + return a - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(byte a, AtomicInteger b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(byte a, AtomicInteger b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(byte a, AtomicLong b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(byte a, AtomicLong b) { + return a - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) - public static int operator_minus(byte a, Short b) { - return a - b.shortValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Long b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(byte a, Integer b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).byteValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Byte b) { + return a < b.byteValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(byte a, Float b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Float b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(byte a, Long b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Integer b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).byteValue())", constantExpression=true) - public static int operator_minus(byte a, Byte b) { - return a - b.byteValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(byte a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, Short b) { + return a < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(byte a, AtomicInteger b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, AtomicInteger b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(byte a, AtomicLong b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(byte a, AtomicLong b) { + return a < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleCastExtensions.java new file mode 100644 index 0000000000..cefd55b0e6 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code double}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveDoubleCastExtensions { + + private PrimitiveDoubleCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code double} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(int)a, ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(double a) { + return new AtomicInteger((int)a); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code double} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(long)a, ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(double a) { + return new AtomicLong((long)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleOperatorExtensions.java index 65fdfd5d01..777362440a 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveDoubleOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code double}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveDoubleExtensions { +public final class PrimitiveDoubleOperatorExtensions { - private PrimitiveDoubleExtensions() { + private PrimitiveDoubleOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Short b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Long b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Integer b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Byte b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Float b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Float b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Long b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Integer b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Byte b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, Short b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, AtomicInteger b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, AtomicInteger b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(double a, AtomicLong b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(double a, AtomicLong b) { + return a + b.doubleValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Short b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Long b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Integer b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Byte b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Float b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Float b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Long b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Integer b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Byte b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, Short b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, AtomicInteger b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, AtomicInteger b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(double a, AtomicLong b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(double a, AtomicLong b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Short b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Long b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Integer b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Byte b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Float b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Float b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Long b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Integer b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Byte b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, Short b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, AtomicInteger b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, AtomicInteger b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(double a, AtomicLong b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(double a, AtomicLong b) { + return a >= b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Short b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Long b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Integer b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Byte b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Float b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Float b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Long b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Integer b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Byte b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, Short b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, AtomicInteger b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, AtomicInteger b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(double a, AtomicLong b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(double a, AtomicLong b) { + return a != b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Short b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Long b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Integer b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Byte b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Float b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Float b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Long b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Integer b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Byte b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, Short b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, AtomicInteger b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, AtomicInteger b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(double a, AtomicLong b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(double a, AtomicLong b) { + return a / b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Short b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Long b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Integer b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Byte b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Float b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Float b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Long b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Integer b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Byte b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, Short b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, AtomicInteger b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, AtomicInteger b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(double a, AtomicLong b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(double a, AtomicLong b) { + return a <= b.doubleValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Short b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Long b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Integer b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Byte b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Float b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Float b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Long b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Integer b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Byte b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, Short b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, AtomicInteger b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, AtomicInteger b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(double a, AtomicLong b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(double a, AtomicLong b) { + return a * b.doubleValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Short b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Long b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Integer b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Byte b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Float b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Float b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Long b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Integer b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Byte b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, Short b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, AtomicInteger b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, AtomicInteger b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(double a, AtomicLong b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(double a, AtomicLong b) { + return a == b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Short b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Long b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Integer b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Byte b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Float b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Float b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Long b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Integer b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Byte b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, Short b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, AtomicInteger b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, AtomicInteger b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(double a, AtomicLong b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(double a, AtomicLong b) { + return a > b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Short b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Long b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Integer b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Byte b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Float b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Float b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Long b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Integer b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Byte b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, Short b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, AtomicInteger b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, AtomicInteger b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(double a, AtomicLong b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(double a, AtomicLong b) { + return a % b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Short b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Long b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Integer b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Byte b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Float b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Float b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Long b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Integer b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Byte b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, Short b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, AtomicInteger b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, AtomicInteger b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(double a, AtomicLong b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(double a, AtomicLong b) { + return a - b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Short b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Long b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Integer b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Byte b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Float b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Float b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Long b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Integer b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Byte b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, Short b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, AtomicInteger b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, AtomicInteger b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(double a, AtomicLong b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(double a, AtomicLong b) { + return a < b.doubleValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatCastExtensions.java new file mode 100644 index 0000000000..f974e8b496 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code float}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveFloatCastExtensions { + + private PrimitiveFloatCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code float} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(int)a, ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(float a) { + return new AtomicInteger((int)a); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code float} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(long)a, ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(float a) { + return new AtomicLong((long)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatOperatorExtensions.java index 406be6d02b..4f3291e22b 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveFloatOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code float}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveFloatExtensions { +public final class PrimitiveFloatOperatorExtensions { - private PrimitiveFloatExtensions() { + private PrimitiveFloatOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Short b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, Long b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Integer b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, Byte b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Float b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, Float b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Long b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, Integer b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Byte b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(float a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(float a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, Short b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, AtomicInteger b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, AtomicInteger b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(float a, AtomicLong b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(float a, AtomicLong b) { + return a + b.floatValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, Short b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, Long b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, Integer b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, Byte b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, Float b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, Float b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, Long b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, Integer b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, Byte b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(float a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(float a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, Short b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, AtomicInteger b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, AtomicInteger b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(float a, AtomicLong b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(float a, AtomicLong b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, Short b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Long b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, Integer b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Byte b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, Float b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Float b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, Long b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Integer b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, Byte b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(float a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, Short b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, AtomicInteger b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, AtomicInteger b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(float a, AtomicLong b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(float a, AtomicLong b) { + return a >= b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, Short b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Long b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, Integer b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Byte b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, Float b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Float b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, Long b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Integer b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, Byte b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(float a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, Short b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, AtomicInteger b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, AtomicInteger b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(float a, AtomicLong b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(float a, AtomicLong b) { + return a != b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, Short b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, Long b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, Integer b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, Byte b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, Float b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, Float b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, Long b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, Integer b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, Byte b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(float a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(float a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, Short b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, AtomicInteger b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, AtomicInteger b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(float a, AtomicLong b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(float a, AtomicLong b) { + return a / b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Short b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Long b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Integer b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Byte b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Float b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Float b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Long b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Integer b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Byte b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(float a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, Short b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, AtomicInteger b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, AtomicInteger b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(float a, AtomicLong b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(float a, AtomicLong b) { + return a <= b.floatValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Short b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, Long b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Integer b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, Byte b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Float b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, Float b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Long b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, Integer b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Byte b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(float a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, Short b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, AtomicInteger b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, AtomicInteger b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(float a, AtomicLong b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(float a, AtomicLong b) { + return a * b.floatValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Short b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, Long b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Integer b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, Byte b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Float b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, Float b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Long b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, Integer b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Byte b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(float a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, Short b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, AtomicInteger b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, AtomicInteger b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(float a, AtomicLong b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(float a, AtomicLong b) { + return a == b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, Short b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Long b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, Integer b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Byte b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, Float b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Float b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, Long b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Integer b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, Byte b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(float a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, Short b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, AtomicInteger b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, AtomicInteger b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(float a, AtomicLong b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(float a, AtomicLong b) { + return a > b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Short b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, Long b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Integer b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, Byte b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Float b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, Float b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Long b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, Integer b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Byte b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(float a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, Short b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, AtomicInteger b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, AtomicInteger b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(float a, AtomicLong b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(float a, AtomicLong b) { + return a % b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, Short b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, Long b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, Integer b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, Byte b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, Float b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, Float b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, Long b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, Integer b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, Byte b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(float a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(float a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, Short b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, AtomicInteger b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, AtomicInteger b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(float a, AtomicLong b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(float a, AtomicLong b) { + return a - b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, Short b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Long b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, Integer b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Byte b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, Float b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Float b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, Long b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Integer b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, Byte b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(float a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, Short b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, AtomicInteger b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, AtomicInteger b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(float a, AtomicLong b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(float a, AtomicLong b) { + return a < b.floatValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntCastExtensions.java new file mode 100644 index 0000000000..e893c2e4e3 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code int}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveIntCastExtensions { + + private PrimitiveIntCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code int} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(int)a, ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(int a) { + return new AtomicInteger((int)a); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code int} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(int)a, ($2)b.intValue())", imported = Math.class) + public static AtomicLong toAtomicLong(int a) { + return new AtomicLong((int)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntOperatorExtensions.java similarity index 61% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntOperatorExtensions.java index 1049a6e880..8a3aee2acf 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveIntOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code int}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveIntExtensions { +public final class PrimitiveIntOperatorExtensions { - private PrimitiveIntExtensions() { + private PrimitiveIntOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Short b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(int a, Long b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Integer b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(int a, Byte b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Float b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(int a, Float b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Long b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(int a, Integer b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Byte b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(int a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(int a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(int a, Short b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(int a, AtomicInteger b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(int a, AtomicInteger b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(int a, AtomicLong b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(int a, AtomicLong b) { + return a + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(int a, Short b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(int a, Long b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(int a, Integer b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(int a, Byte b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(int a, Float b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(int a, Float b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(int a, Long b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(int a, Integer b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(int a, Byte b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(int a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(int a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(int a, Short b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(int a, AtomicInteger b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(int a, AtomicInteger b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(int a, AtomicLong b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(int a, AtomicLong b) { + return Math.pow(a, b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(int a, Short b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Long b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(int a, Integer b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Byte b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(int a, Float b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Float b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(int a, Long b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Integer b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(int a, Byte b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(int a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, Short b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(int a, AtomicInteger b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, AtomicInteger b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(int a, AtomicLong b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(int a, AtomicLong b) { + return a >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(int a, Short b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Long b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(int a, Integer b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Byte b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(int a, Float b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Float b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(int a, Long b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Integer b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(int a, Byte b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(int a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(int a, Short b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(int a, AtomicInteger b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(int a, AtomicInteger b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(int a, AtomicLong b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(int a, AtomicLong b) { + return a != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(int a, Short b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(int a, Long b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(int a, Integer b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(int a, Byte b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(int a, Float b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(int a, Float b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(int a, Long b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(int a, Integer b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(int a, Byte b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(int a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(int a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(int a, Short b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(int a, AtomicInteger b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(int a, AtomicInteger b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(int a, AtomicLong b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(int a, AtomicLong b) { + return a / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Short b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Long b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Integer b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Byte b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Float b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Float b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Long b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Integer b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Byte b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(int a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, Short b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(int a, AtomicInteger b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, AtomicInteger b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(int a, AtomicLong b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(int a, AtomicLong b) { + return a <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Short b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(int a, Long b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Integer b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(int a, Byte b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Float b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(int a, Float b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Long b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(int a, Integer b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Byte b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(int a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(int a, Short b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, AtomicInteger b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(int a, AtomicInteger b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(int a, AtomicLong b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(int a, AtomicLong b) { + return a * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Short b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(int a, Long b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Integer b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(int a, Byte b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Float b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(int a, Float b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Long b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(int a, Integer b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Byte b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(int a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(int a, Short b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, AtomicInteger b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(int a, AtomicInteger b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(int a, AtomicLong b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(int a, AtomicLong b) { + return a == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(int a, Short b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Long b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(int a, Integer b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Byte b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(int a, Float b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Float b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(int a, Long b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Integer b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(int a, Byte b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(int a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, Short b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(int a, AtomicInteger b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, AtomicInteger b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(int a, AtomicLong b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(int a, AtomicLong b) { + return a > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Short b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(int a, Long b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Integer b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(int a, Byte b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Float b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(int a, Float b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Long b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(int a, Integer b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Byte b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(int a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(int a, Short b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, AtomicInteger b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(int a, AtomicInteger b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(int a, AtomicLong b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(int a, AtomicLong b) { + return a % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(int a, Short b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(int a, Long b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(int a, Integer b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(int a, Byte b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(int a, Float b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(int a, Float b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(int a, Long b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(int a, Integer b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(int a, Byte b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(int a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(int a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(int a, Short b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(int a, AtomicInteger b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(int a, AtomicInteger b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(int a, AtomicLong b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(int a, AtomicLong b) { + return a - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(int a, Short b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Long b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(int a, Integer b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Byte b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(int a, Float b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Float b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(int a, Long b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Integer b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(int a, Byte b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(int a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(int a, Short b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(int a, AtomicInteger b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(int a, AtomicInteger b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(int a, AtomicLong b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(int a, AtomicLong b) { + return a < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongCastExtensions.java new file mode 100644 index 0000000000..0ca45203db --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code long}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveLongCastExtensions { + + private PrimitiveLongCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code long} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(int)a, ($2)b.intValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(long a) { + return new AtomicInteger((int)a); + } + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code long} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(long)a, ($2)b.longValue())", imported = Math.class) + public static AtomicLong toAtomicLong(long a) { + return new AtomicLong((long)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongOperatorExtensions.java similarity index 61% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongOperatorExtensions.java index 13cee67864..298a0bd578 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveLongOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code long}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveLongExtensions { +public final class PrimitiveLongOperatorExtensions { - private PrimitiveLongExtensions() { + private PrimitiveLongOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Short b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, Long b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Integer b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, Byte b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Float b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(long a, Float b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Long b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, Integer b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Byte b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(long a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(long a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, Short b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, AtomicInteger b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, AtomicInteger b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(long a, AtomicLong b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(long a, AtomicLong b) { + return a + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, Short b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, Long b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, Integer b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, Byte b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(long a, Float b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(long a, Float b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, Long b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, Integer b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, Byte b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(long a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(long a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, Short b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, AtomicInteger b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, AtomicInteger b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(long a, AtomicLong b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(long a, AtomicLong b) { + return Math.pow(a, b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, Short b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Long b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, Integer b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Byte b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(long a, Float b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Float b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, Long b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Integer b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, Byte b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(long a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, Short b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, AtomicInteger b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, AtomicInteger b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(long a, AtomicLong b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(long a, AtomicLong b) { + return a >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, Short b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Long b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, Integer b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Byte b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(long a, Float b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Float b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, Long b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Integer b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, Byte b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(long a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, Short b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, AtomicInteger b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, AtomicInteger b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(long a, AtomicLong b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(long a, AtomicLong b) { + return a != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, Short b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, Long b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, Integer b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, Byte b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(long a, Float b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(long a, Float b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, Long b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, Integer b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, Byte b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(long a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(long a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, Short b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, AtomicInteger b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, AtomicInteger b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(long a, AtomicLong b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(long a, AtomicLong b) { + return a / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Short b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Long b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Integer b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Byte b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Float b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Float b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Long b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Integer b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Byte b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(long a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, Short b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, AtomicInteger b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, AtomicInteger b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(long a, AtomicLong b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(long a, AtomicLong b) { + return a <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Short b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, Long b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Integer b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, Byte b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Float b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(long a, Float b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Long b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, Integer b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Byte b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(long a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, Short b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, AtomicInteger b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, AtomicInteger b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(long a, AtomicLong b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(long a, AtomicLong b) { + return a * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Short b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, Long b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Integer b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, Byte b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Float b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(long a, Float b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Long b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, Integer b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Byte b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(long a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, Short b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, AtomicInteger b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, AtomicInteger b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(long a, AtomicLong b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(long a, AtomicLong b) { + return a == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, Short b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Long b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, Integer b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Byte b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(long a, Float b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Float b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, Long b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Integer b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, Byte b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(long a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, Short b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, AtomicInteger b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, AtomicInteger b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(long a, AtomicLong b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(long a, AtomicLong b) { + return a > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Short b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, Long b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Integer b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, Byte b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Float b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(long a, Float b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Long b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, Integer b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Byte b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(long a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, Short b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, AtomicInteger b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, AtomicInteger b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(long a, AtomicLong b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(long a, AtomicLong b) { + return a % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, Short b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, Long b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, Integer b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, Byte b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(long a, Float b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(long a, Float b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, Long b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, Integer b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, Byte b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(long a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(long a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, Short b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, AtomicInteger b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, AtomicInteger b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(long a, AtomicLong b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(long a, AtomicLong b) { + return a - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, Short b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Long b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, Integer b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Byte b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(long a, Float b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Float b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, Long b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Integer b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, Byte b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(long a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, Short b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, AtomicInteger b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, AtomicInteger b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(long a, AtomicLong b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(long a, AtomicLong b) { + return a < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortCastExtensions.java new file mode 100644 index 0000000000..0ccfe643c0 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code short}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class PrimitiveShortCastExtensions { + + private PrimitiveShortCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code short} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(short)a, ($2)b.shortValue())", imported = Math.class) + public static AtomicLong toAtomicLong(short a) { + return new AtomicLong((short)a); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code short} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)(short)a, ($2)b.shortValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(short a) { + return new AtomicInteger((short)a); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortOperatorExtensions.java similarity index 61% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortOperatorExtensions.java index 4075ac00a0..cd1be094b0 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/PrimitiveShortOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code short}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,1268 +39,1268 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class PrimitiveShortExtensions { +public final class PrimitiveShortOperatorExtensions { - private PrimitiveShortExtensions() { + private PrimitiveShortOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Short b) { - return a != b.shortValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(short a, Long b) { + return a + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Integer b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) + public static int operator_plus(short a, Byte b) { + return a + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Float b) { - return a != b.floatValue(); + @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) + public static float operator_plus(short a, Float b) { + return a + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Long b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(short a, Integer b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Byte b) { - return a != b.shortValue(); + @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(short a, Double b) { + return a + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(short a, Double b) { - return a != b.doubleValue(); + @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) + public static int operator_plus(short a, Short b) { + return a + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(short a, AtomicInteger b) { - return a != b.intValue(); + @Inline(value = "($1 + ($2).intValue())", constantExpression=true) + public static int operator_plus(short a, AtomicInteger b) { + return a + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "($1 != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(short a, AtomicLong b) { - return a != b.longValue(); + @Inline(value = "($1 + ($2).longValue())", constantExpression=true) + public static long operator_plus(short a, AtomicLong b) { + return a + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) - public static int operator_divide(short a, Short b) { - return a / b.shortValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(short a, Long b) { + return Math.pow(a, b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(short a, Integer b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) + public static double operator_power(short a, Byte b) { + return Math.pow(a, b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) - public static float operator_divide(short a, Float b) { - return a / b.floatValue(); + @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) + public static double operator_power(short a, Float b) { + return Math.pow(a, b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(short a, Long b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(short a, Integer b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) - public static int operator_divide(short a, Byte b) { - return a / b.shortValue(); + @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) + public static double operator_power(short a, Double b) { + return Math.pow(a, b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(short a, Double b) { - return a / b.doubleValue(); + @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) + public static double operator_power(short a, Short b) { + return Math.pow(a, b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).intValue())", constantExpression=true) - public static int operator_divide(short a, AtomicInteger b) { - return a / b.intValue(); + @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) + public static double operator_power(short a, AtomicInteger b) { + return Math.pow(a, b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "($1 / ($2).longValue())", constantExpression=true) - public static long operator_divide(short a, AtomicLong b) { - return a / b.longValue(); + @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) + public static double operator_power(short a, AtomicLong b) { + return Math.pow(a, b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(short a, Short b) { - return a == b.shortValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Long b) { + return a >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(short a, Integer b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Byte b) { + return a >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(short a, Float b) { - return a == b.floatValue(); + @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Float b) { + return a >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(short a, Long b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Integer b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(short a, Byte b) { - return a == b.shortValue(); + @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Double b) { + return a >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(short a, Double b) { - return a == b.doubleValue(); + @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, Short b) { + return a >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(short a, AtomicInteger b) { - return a == b.intValue(); + @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, AtomicInteger b) { + return a >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "($1 == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(short a, AtomicLong b) { - return a == b.longValue(); + @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(short a, AtomicLong b) { + return a >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(short a, Short b) { - return a * b.shortValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Long b) { + return a != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(short a, Integer b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Byte b) { + return a != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(short a, Float b) { - return a * b.floatValue(); + @Inline(value = "($1 != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Float b) { + return a != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(short a, Long b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Integer b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(short a, Byte b) { - return a * b.shortValue(); + @Inline(value = "($1 != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Double b) { + return a != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(short a, Double b) { - return a * b.doubleValue(); + @Inline(value = "($1 != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(short a, Short b) { + return a != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).intValue())", constantExpression=true) - public static int operator_multiply(short a, AtomicInteger b) { - return a * b.intValue(); + @Inline(value = "($1 != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(short a, AtomicInteger b) { + return a != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "($1 * ($2).longValue())", constantExpression=true) - public static long operator_multiply(short a, AtomicLong b) { - return a * b.longValue(); + @Inline(value = "($1 != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(short a, AtomicLong b) { + return a != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) - public static double operator_power(short a, Short b) { - return Math.pow(a, b.shortValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(short a, Long b) { + return a / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(short a, Integer b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) + public static int operator_divide(short a, Byte b) { + return a / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).floatValue())", imported = Math.class) - public static double operator_power(short a, Float b) { - return Math.pow(a, b.floatValue()); + @Inline(value = "($1 / ($2).floatValue())", constantExpression=true) + public static float operator_divide(short a, Float b) { + return a / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(short a, Long b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(short a, Integer b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).shortValue())", imported = Math.class) - public static double operator_power(short a, Byte b) { - return Math.pow(a, b.shortValue()); + @Inline(value = "($1 / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(short a, Double b) { + return a / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).doubleValue())", imported = Math.class) - public static double operator_power(short a, Double b) { - return Math.pow(a, b.doubleValue()); + @Inline(value = "($1 / ($2).shortValue())", constantExpression=true) + public static int operator_divide(short a, Short b) { + return a / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).intValue())", imported = Math.class) - public static double operator_power(short a, AtomicInteger b) { - return Math.pow(a, b.intValue()); + @Inline(value = "($1 / ($2).intValue())", constantExpression=true) + public static int operator_divide(short a, AtomicInteger b) { + return a / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow($1, ($2).longValue())", imported = Math.class) - public static double operator_power(short a, AtomicLong b) { - return Math.pow(a, b.longValue()); + @Inline(value = "($1 / ($2).longValue())", constantExpression=true) + public static long operator_divide(short a, AtomicLong b) { + return a / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Short b) { - return a < b.shortValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Long b) { + return a <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Integer b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Byte b) { + return a <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Float b) { - return a < b.floatValue(); + @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Float b) { + return a <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Long b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Integer b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Byte b) { - return a < b.shortValue(); + @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Double b) { + return a <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(short a, Double b) { - return a < b.doubleValue(); + @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, Short b) { + return a <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(short a, AtomicInteger b) { - return a < b.intValue(); + @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, AtomicInteger b) { + return a <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "($1 < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(short a, AtomicLong b) { - return a < b.longValue(); + @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(short a, AtomicLong b) { + return a <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Short b) { - return a > b.shortValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(short a, Long b) { + return a * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Integer b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(short a, Byte b) { + return a * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Float b) { - return a > b.floatValue(); + @Inline(value = "($1 * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(short a, Float b) { + return a * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Long b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(short a, Integer b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Byte b) { - return a > b.shortValue(); + @Inline(value = "($1 * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(short a, Double b) { + return a * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, Double b) { - return a > b.doubleValue(); + @Inline(value = "($1 * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(short a, Short b) { + return a * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, AtomicInteger b) { - return a > b.intValue(); + @Inline(value = "($1 * ($2).intValue())", constantExpression=true) + public static int operator_multiply(short a, AtomicInteger b) { + return a * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "($1 > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(short a, AtomicLong b) { - return a > b.longValue(); + @Inline(value = "($1 * ($2).longValue())", constantExpression=true) + public static long operator_multiply(short a, AtomicLong b) { + return a * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Short b) { - return a <= b.shortValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(short a, Long b) { + return a == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Integer b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(short a, Byte b) { + return a == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Float b) { - return a <= b.floatValue(); + @Inline(value = "($1 == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(short a, Float b) { + return a == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Long b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(short a, Integer b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Byte b) { - return a <= b.shortValue(); + @Inline(value = "($1 == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(short a, Double b) { + return a == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, Double b) { - return a <= b.doubleValue(); + @Inline(value = "($1 == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(short a, Short b) { + return a == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, AtomicInteger b) { - return a <= b.intValue(); + @Inline(value = "($1 == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(short a, AtomicInteger b) { + return a == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "($1 <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(short a, AtomicLong b) { - return a <= b.longValue(); + @Inline(value = "($1 == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(short a, AtomicLong b) { + return a == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(short a, Short b) { - return a % b.shortValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Long b) { + return a > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(short a, Integer b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Byte b) { + return a > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(short a, Float b) { - return a % b.floatValue(); + @Inline(value = "($1 > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Float b) { + return a > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(short a, Long b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Integer b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(short a, Byte b) { - return a % b.shortValue(); + @Inline(value = "($1 > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Double b) { + return a > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(short a, Double b) { - return a % b.doubleValue(); + @Inline(value = "($1 > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, Short b) { + return a > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).intValue())", constantExpression=true) - public static int operator_modulo(short a, AtomicInteger b) { - return a % b.intValue(); + @Inline(value = "($1 > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, AtomicInteger b) { + return a > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "($1 % ($2).longValue())", constantExpression=true) - public static long operator_modulo(short a, AtomicLong b) { - return a % b.longValue(); + @Inline(value = "($1 > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(short a, AtomicLong b) { + return a > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Short b) { - return a >= b.shortValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(short a, Long b) { + return a % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Integer b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(short a, Byte b) { + return a % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Float b) { - return a >= b.floatValue(); + @Inline(value = "($1 % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(short a, Float b) { + return a % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Long b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(short a, Integer b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Byte b) { - return a >= b.shortValue(); + @Inline(value = "($1 % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(short a, Double b) { + return a % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, Double b) { - return a >= b.doubleValue(); + @Inline(value = "($1 % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(short a, Short b) { + return a % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, AtomicInteger b) { - return a >= b.intValue(); + @Inline(value = "($1 % ($2).intValue())", constantExpression=true) + public static int operator_modulo(short a, AtomicInteger b) { + return a % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "($1 >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(short a, AtomicLong b) { - return a >= b.longValue(); + @Inline(value = "($1 % ($2).longValue())", constantExpression=true) + public static long operator_modulo(short a, AtomicLong b) { + return a % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) - public static int operator_plus(short a, Short b) { - return a + b.shortValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(short a, Long b) { + return a - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(short a, Integer b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) + public static int operator_minus(short a, Byte b) { + return a - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).floatValue())", constantExpression=true) - public static float operator_plus(short a, Float b) { - return a + b.floatValue(); + @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) + public static float operator_minus(short a, Float b) { + return a - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(short a, Long b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(short a, Integer b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).shortValue())", constantExpression=true) - public static int operator_plus(short a, Byte b) { - return a + b.shortValue(); + @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(short a, Double b) { + return a - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(short a, Double b) { - return a + b.doubleValue(); + @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) + public static int operator_minus(short a, Short b) { + return a - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).intValue())", constantExpression=true) - public static int operator_plus(short a, AtomicInteger b) { - return a + b.intValue(); + @Inline(value = "($1 - ($2).intValue())", constantExpression=true) + public static int operator_minus(short a, AtomicInteger b) { + return a - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "($1 + ($2).longValue())", constantExpression=true) - public static long operator_plus(short a, AtomicLong b) { - return a + b.longValue(); + @Inline(value = "($1 - ($2).longValue())", constantExpression=true) + public static long operator_minus(short a, AtomicLong b) { + return a - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) - public static int operator_minus(short a, Short b) { - return a - b.shortValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Long b) { + return a < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(short a, Integer b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Byte b) { + return a < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).floatValue())", constantExpression=true) - public static float operator_minus(short a, Float b) { - return a - b.floatValue(); + @Inline(value = "($1 < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Float b) { + return a < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(short a, Long b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Integer b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).shortValue())", constantExpression=true) - public static int operator_minus(short a, Byte b) { - return a - b.shortValue(); + @Inline(value = "($1 < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Double b) { + return a < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(short a, Double b) { - return a - b.doubleValue(); + @Inline(value = "($1 < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(short a, Short b) { + return a < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).intValue())", constantExpression=true) - public static int operator_minus(short a, AtomicInteger b) { - return a - b.intValue(); + @Inline(value = "($1 < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(short a, AtomicInteger b) { + return a < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "($1 - ($2).longValue())", constantExpression=true) - public static long operator_minus(short a, AtomicLong b) { - return a - b.longValue(); + @Inline(value = "($1 < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(short a, AtomicLong b) { + return a < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortCastExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortCastExtensions.java new file mode 100644 index 0000000000..aac0aabdf7 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortCastExtensions.java @@ -0,0 +1,74 @@ +/* + * $Id$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {@code Short}. + * + * @author $Author: sgalland$ + * @version $FullVersion$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + * @since 0.7 + * @see "https://github.com/eclipse/xtext-extras/issues/186" + */ +@SuppressWarnings("all") +public final class ShortCastExtensions { + + private ShortCastExtensions() { + // + } + + // BEGIN GENERATED BLOCK + + /** Convert the given value to {@code AtomicLong}. + * + * @param a a number of {@code Short} type. + * @return the equivalent value to {@code a} of {@code AtomicLong} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.shortValue(), ($2)b.shortValue())", imported = Math.class) + public static AtomicLong toAtomicLong(Short a) { + return new AtomicLong(a.shortValue()); + } + + /** Convert the given value to {@code AtomicInteger}. + * + * @param a a number of {@code Short} type. + * @return the equivalent value to {@code a} of {@code AtomicInteger} type. + */ + @Pure + @Inline(value = "$3.pow(($1)a.shortValue(), ($2)b.shortValue())", imported = Math.class) + public static AtomicInteger toAtomicInteger(Short a) { + return new AtomicInteger(a.shortValue()); + } + + // END GENERATED BLOCK + +} diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortExtensions.java b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortOperatorExtensions.java similarity index 62% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortExtensions.java rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortOperatorExtensions.java index 79a0e85343..a1664b90da 100644 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortExtensions.java +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/ShortOperatorExtensions.java @@ -19,6 +19,8 @@ * limitations under the License. */ +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; @@ -27,7 +29,7 @@ import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {@code Short}. * * @author $Author: sgalland$ * @version $FullVersion$ @@ -37,19 +39,19 @@ * @see "https://github.com/eclipse/xtext-extras/issues/186" */ @SuppressWarnings("all") -public final class ShortExtensions { +public final class ShortOperatorExtensions { - private ShortExtensions() { + private ShortOperatorExtensions() { // } // BEGIN GENERATED BLOCK - /** - *The unary minus operator. This is the equivalent to the Java's - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java's {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-($1).shortValue())", constantExpression=true) @@ -57,2202 +59,2202 @@ public static int operator_minus(Short i) { return -i.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, int b) { - return a.intValue() != b; + @Inline(value = "(($1).longValue() + $2)", constantExpression=true) + public static long operator_plus(Short a, long b) { + return a.longValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, long b) { - return a.longValue() != b; + @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) + public static int operator_plus(Short a, byte b) { + return a.shortValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, short b) { - return a.shortValue() != b; + @Inline(value = "(($1).intValue() + $2)", constantExpression=true) + public static int operator_plus(Short a, int b) { + return a.intValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, byte b) { - return a.shortValue() != b; + @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) + public static int operator_plus(Short a, short b) { + return a.shortValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, double b) { - return a.doubleValue() != b; + @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) + public static double operator_plus(Short a, double b) { + return a.doubleValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) - public static boolean operator_notEquals(Short a, float b) { - return a.floatValue() != b; + @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) + public static float operator_plus(Short a, float b) { + return a.floatValue() + b; } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Short b) { - return a.shortValue() != b.shortValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Short a, Long b) { + return a.longValue() + b.longValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Integer b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) + public static int operator_plus(Short a, Byte b) { + return a.shortValue() + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Float b) { - return a.floatValue() != b.floatValue(); + @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) + public static float operator_plus(Short a, Float b) { + return a.floatValue() + b.floatValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Long b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Short a, Integer b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Byte b) { - return a.shortValue() != b.shortValue(); + @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) + public static double operator_plus(Short a, Double b) { + return a.doubleValue() + b.doubleValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, Double b) { - return a.doubleValue() != b.doubleValue(); + @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) + public static int operator_plus(Short a, Short b) { + return a.shortValue() + b.shortValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, AtomicInteger b) { - return a.intValue() != b.intValue(); + @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) + public static int operator_plus(Short a, AtomicInteger b) { + return a.intValue() + b.intValue(); } - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a+b} */ @Pure - @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) - public static boolean operator_notEquals(Short a, AtomicLong b) { - return a.longValue() != b.longValue(); + @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) + public static long operator_plus(Short a, AtomicLong b) { + return a.longValue() + b.longValue(); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / $2)", constantExpression=true) - public static int operator_divide(Short a, int b) { - return a.intValue() / b; + @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) + public static double operator_power(Short a, long b) { + return Math.pow(a.longValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / $2)", constantExpression=true) - public static long operator_divide(Short a, long b) { - return a.longValue() / b; + @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) + public static double operator_power(Short a, byte b) { + return Math.pow(a.shortValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) - public static int operator_divide(Short a, short b) { - return a.shortValue() / b; + @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) + public static double operator_power(Short a, int b) { + return Math.pow(a.intValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) - public static int operator_divide(Short a, byte b) { - return a.shortValue() / b; + @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) + public static double operator_power(Short a, short b) { + return Math.pow(a.shortValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) - public static double operator_divide(Short a, double b) { - return a.doubleValue() / b; + @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) + public static double operator_power(Short a, double b) { + return Math.pow(a.doubleValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) - public static float operator_divide(Short a, float b) { - return a.floatValue() / b; + @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) + public static double operator_power(Short a, float b) { + return Math.pow(a.floatValue(), b); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) - public static int operator_divide(Short a, Short b) { - return a.shortValue() / b.shortValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Short a, Long b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Short a, Integer b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) + public static double operator_power(Short a, Byte b) { + return Math.pow(a.shortValue(), b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) - public static float operator_divide(Short a, Float b) { - return a.floatValue() / b.floatValue(); + @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) + public static double operator_power(Short a, Float b) { + return Math.pow(a.floatValue(), b.floatValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Short a, Long b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Short a, Integer b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) - public static int operator_divide(Short a, Byte b) { - return a.shortValue() / b.shortValue(); + @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) + public static double operator_power(Short a, Double b) { + return Math.pow(a.doubleValue(), b.doubleValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) - public static double operator_divide(Short a, Double b) { - return a.doubleValue() / b.doubleValue(); + @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) + public static double operator_power(Short a, Short b) { + return Math.pow(a.shortValue(), b.shortValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) - public static int operator_divide(Short a, AtomicInteger b) { - return a.intValue() / b.intValue(); + @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) + public static double operator_power(Short a, AtomicInteger b) { + return Math.pow(a.intValue(), b.intValue()); } - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code power} operator. This is the equivalent to + * the Java's {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code Math::pow(a, b)} */ @Pure - @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) - public static long operator_divide(Short a, AtomicLong b) { - return a.longValue() / b.longValue(); + @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) + public static double operator_power(Short a, AtomicLong b) { + return Math.pow(a.longValue(), b.longValue()); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, int b) { - return a.intValue() == b; + @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, long b) { + return a.longValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, long b) { - return a.longValue() == b; + @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, byte b) { + return a.shortValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, short b) { - return a.shortValue() == b; + @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, int b) { + return a.intValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, byte b) { - return a.shortValue() == b; + @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, short b) { + return a.shortValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, double b) { - return a.doubleValue() == b; + @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, double b) { + return a.doubleValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) - public static boolean operator_equals(Short a, float b) { - return a.floatValue() == b; + @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, float b) { + return a.floatValue() >= b; } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(Short a, Short b) { - return a.shortValue() == b.shortValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Long b) { + return a.longValue() >= b.longValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Short a, Integer b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Byte b) { + return a.shortValue() >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) - public static boolean operator_equals(Short a, Float b) { - return a.floatValue() == b.floatValue(); + @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Float b) { + return a.floatValue() >= b.floatValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Short a, Long b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Integer b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) - public static boolean operator_equals(Short a, Byte b) { - return a.shortValue() == b.shortValue(); + @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Double b) { + return a.doubleValue() >= b.doubleValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) - public static boolean operator_equals(Short a, Double b) { - return a.doubleValue() == b.doubleValue(); + @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, Short b) { + return a.shortValue() >= b.shortValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) - public static boolean operator_equals(Short a, AtomicInteger b) { - return a.intValue() == b.intValue(); + @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, AtomicInteger b) { + return a.intValue() >= b.intValue(); } - /** - *The binary equals operator. This is the equivalent to the Java == operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a>=b} */ @Pure - @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) - public static boolean operator_equals(Short a, AtomicLong b) { - return a.longValue() == b.longValue(); + @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) + public static boolean operator_greaterEqualsThan(Short a, AtomicLong b) { + return a.longValue() >= b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * $2)", constantExpression=true) - public static int operator_multiply(Short a, int b) { - return a.intValue() * b; + @Inline(value = "(($1).longValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, long b) { + return a.longValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * $2)", constantExpression=true) - public static long operator_multiply(Short a, long b) { - return a.longValue() * b; + @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, byte b) { + return a.shortValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) - public static int operator_multiply(Short a, short b) { - return a.shortValue() * b; + @Inline(value = "(($1).intValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, int b) { + return a.intValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) - public static int operator_multiply(Short a, byte b) { - return a.shortValue() * b; + @Inline(value = "(($1).shortValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, short b) { + return a.shortValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) - public static double operator_multiply(Short a, double b) { - return a.doubleValue() * b; + @Inline(value = "(($1).doubleValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, double b) { + return a.doubleValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) - public static float operator_multiply(Short a, float b) { - return a.floatValue() * b; + @Inline(value = "(($1).floatValue() != $2)", constantExpression=true) + public static boolean operator_notEquals(Short a, float b) { + return a.floatValue() != b; } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(Short a, Short b) { - return a.shortValue() * b.shortValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Long b) { + return a.longValue() != b.longValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Short a, Integer b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Byte b) { + return a.shortValue() != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) - public static float operator_multiply(Short a, Float b) { - return a.floatValue() * b.floatValue(); + @Inline(value = "(($1).floatValue() != ($2).floatValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Float b) { + return a.floatValue() != b.floatValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Short a, Long b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Integer b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) - public static int operator_multiply(Short a, Byte b) { - return a.shortValue() * b.shortValue(); + @Inline(value = "(($1).doubleValue() != ($2).doubleValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Double b) { + return a.doubleValue() != b.doubleValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) - public static double operator_multiply(Short a, Double b) { - return a.doubleValue() * b.doubleValue(); + @Inline(value = "(($1).shortValue() != ($2).shortValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, Short b) { + return a.shortValue() != b.shortValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) - public static int operator_multiply(Short a, AtomicInteger b) { - return a.intValue() * b.intValue(); + @Inline(value = "(($1).intValue() != ($2).intValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, AtomicInteger b) { + return a.intValue() != b.intValue(); } - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a!=b} */ @Pure - @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) - public static long operator_multiply(Short a, AtomicLong b) { - return a.longValue() * b.longValue(); + @Inline(value = "(($1).longValue() != ($2).longValue())", constantExpression=true) + public static boolean operator_notEquals(Short a, AtomicLong b) { + return a.longValue() != b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), $2)", imported = Math.class) - public static double operator_power(Short a, int b) { - return Math.pow(a.intValue(), b); + @Inline(value = "(($1).longValue() / $2)", constantExpression=true) + public static long operator_divide(Short a, long b) { + return a.longValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), $2)", imported = Math.class) - public static double operator_power(Short a, long b) { - return Math.pow(a.longValue(), b); + @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) + public static int operator_divide(Short a, byte b) { + return a.shortValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) - public static double operator_power(Short a, short b) { - return Math.pow(a.shortValue(), b); + @Inline(value = "(($1).intValue() / $2)", constantExpression=true) + public static int operator_divide(Short a, int b) { + return a.intValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), $2)", imported = Math.class) - public static double operator_power(Short a, byte b) { - return Math.pow(a.shortValue(), b); + @Inline(value = "(($1).shortValue() / $2)", constantExpression=true) + public static int operator_divide(Short a, short b) { + return a.shortValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), $2)", imported = Math.class) - public static double operator_power(Short a, double b) { - return Math.pow(a.doubleValue(), b); + @Inline(value = "(($1).doubleValue() / $2)", constantExpression=true) + public static double operator_divide(Short a, double b) { + return a.doubleValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), $2)", imported = Math.class) - public static double operator_power(Short a, float b) { - return Math.pow(a.floatValue(), b); + @Inline(value = "(($1).floatValue() / $2)", constantExpression=true) + public static float operator_divide(Short a, float b) { + return a.floatValue() / b; } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) - public static double operator_power(Short a, Short b) { - return Math.pow(a.shortValue(), b.shortValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Short a, Long b) { + return a.longValue() / b.longValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Short a, Integer b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) + public static int operator_divide(Short a, Byte b) { + return a.shortValue() / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).floatValue(), ($2).floatValue())", imported = Math.class) - public static double operator_power(Short a, Float b) { - return Math.pow(a.floatValue(), b.floatValue()); + @Inline(value = "(($1).floatValue() / ($2).floatValue())", constantExpression=true) + public static float operator_divide(Short a, Float b) { + return a.floatValue() / b.floatValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Short a, Long b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Short a, Integer b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).shortValue(), ($2).shortValue())", imported = Math.class) - public static double operator_power(Short a, Byte b) { - return Math.pow(a.shortValue(), b.shortValue()); + @Inline(value = "(($1).doubleValue() / ($2).doubleValue())", constantExpression=true) + public static double operator_divide(Short a, Double b) { + return a.doubleValue() / b.doubleValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).doubleValue(), ($2).doubleValue())", imported = Math.class) - public static double operator_power(Short a, Double b) { - return Math.pow(a.doubleValue(), b.doubleValue()); + @Inline(value = "(($1).shortValue() / ($2).shortValue())", constantExpression=true) + public static int operator_divide(Short a, Short b) { + return a.shortValue() / b.shortValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).intValue(), ($2).intValue())", imported = Math.class) - public static double operator_power(Short a, AtomicInteger b) { - return Math.pow(a.intValue(), b.intValue()); + @Inline(value = "(($1).intValue() / ($2).intValue())", constantExpression=true) + public static int operator_divide(Short a, AtomicInteger b) { + return a.intValue() / b.intValue(); } - /** - *The binary power operator. This is the equivalent to the Java's Math.pow() function. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code a/b} */ @Pure - @Inline(value = "$3.pow(($1).longValue(), ($2).longValue())", imported = Math.class) - public static double operator_power(Short a, AtomicLong b) { - return Math.pow(a.longValue(), b.longValue()); + @Inline(value = "(($1).longValue() / ($2).longValue())", constantExpression=true) + public static long operator_divide(Short a, AtomicLong b) { + return a.longValue() / b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, int b) { - return a.intValue() < b; + @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, long b) { + return a.longValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, long b) { - return a.longValue() < b; + @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, byte b) { + return a.shortValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, short b) { - return a.shortValue() < b; + @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, int b) { + return a.intValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, byte b) { - return a.shortValue() < b; + @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, short b) { + return a.shortValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, double b) { - return a.doubleValue() < b; + @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, double b) { + return a.doubleValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) - public static boolean operator_lessThan(Short a, float b) { - return a.floatValue() < b; + @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, float b) { + return a.floatValue() <= b; } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Short b) { - return a.shortValue() < b.shortValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Long b) { + return a.longValue() <= b.longValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Integer b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Byte b) { + return a.shortValue() <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Float b) { - return a.floatValue() < b.floatValue(); + @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Float b) { + return a.floatValue() <= b.floatValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Long b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Integer b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Byte b) { - return a.shortValue() < b.shortValue(); + @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Double b) { + return a.doubleValue() <= b.doubleValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, Double b) { - return a.doubleValue() < b.doubleValue(); + @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, Short b) { + return a.shortValue() <= b.shortValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, AtomicInteger b) { - return a.intValue() < b.intValue(); + @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, AtomicInteger b) { + return a.intValue() <= b.intValue(); } - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<=b} */ @Pure - @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) - public static boolean operator_lessThan(Short a, AtomicLong b) { - return a.longValue() < b.longValue(); + @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) + public static boolean operator_lessEqualsThan(Short a, AtomicLong b) { + return a.longValue() <= b.longValue(); } - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, int b) { - return a.intValue() > b; + @Inline(value = "(($1).longValue() * $2)", constantExpression=true) + public static long operator_multiply(Short a, long b) { + return a.longValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, long b) { - return a.longValue() > b; + @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) + public static int operator_multiply(Short a, byte b) { + return a.shortValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, short b) { - return a.shortValue() > b; + @Inline(value = "(($1).intValue() * $2)", constantExpression=true) + public static int operator_multiply(Short a, int b) { + return a.intValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, byte b) { - return a.shortValue() > b; + @Inline(value = "(($1).shortValue() * $2)", constantExpression=true) + public static int operator_multiply(Short a, short b) { + return a.shortValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, double b) { - return a.doubleValue() > b; + @Inline(value = "(($1).doubleValue() * $2)", constantExpression=true) + public static double operator_multiply(Short a, double b) { + return a.doubleValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) - public static boolean operator_greaterThan(Short a, float b) { - return a.floatValue() > b; + @Inline(value = "(($1).floatValue() * $2)", constantExpression=true) + public static float operator_multiply(Short a, float b) { + return a.floatValue() * b; } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Short b) { - return a.shortValue() > b.shortValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Short a, Long b) { + return a.longValue() * b.longValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Integer b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(Short a, Byte b) { + return a.shortValue() * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Float b) { - return a.floatValue() > b.floatValue(); + @Inline(value = "(($1).floatValue() * ($2).floatValue())", constantExpression=true) + public static float operator_multiply(Short a, Float b) { + return a.floatValue() * b.floatValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Long b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Short a, Integer b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Byte b) { - return a.shortValue() > b.shortValue(); + @Inline(value = "(($1).doubleValue() * ($2).doubleValue())", constantExpression=true) + public static double operator_multiply(Short a, Double b) { + return a.doubleValue() * b.doubleValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, Double b) { - return a.doubleValue() > b.doubleValue(); + @Inline(value = "(($1).shortValue() * ($2).shortValue())", constantExpression=true) + public static int operator_multiply(Short a, Short b) { + return a.shortValue() * b.shortValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, AtomicInteger b) { - return a.intValue() > b.intValue(); + @Inline(value = "(($1).intValue() * ($2).intValue())", constantExpression=true) + public static int operator_multiply(Short a, AtomicInteger b) { + return a.intValue() * b.intValue(); } - - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a*b} */ @Pure - @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) - public static boolean operator_greaterThan(Short a, AtomicLong b) { - return a.longValue() > b.longValue(); + @Inline(value = "(($1).longValue() * ($2).longValue())", constantExpression=true) + public static long operator_multiply(Short a, AtomicLong b) { + return a.longValue() * b.longValue(); } - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, int b) { - return a.intValue() <= b; + @Inline(value = "(($1).longValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, long b) { + return a.longValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, long b) { - return a.longValue() <= b; + @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, byte b) { + return a.shortValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, short b) { - return a.shortValue() <= b; + @Inline(value = "(($1).intValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, int b) { + return a.intValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, byte b) { - return a.shortValue() <= b; + @Inline(value = "(($1).shortValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, short b) { + return a.shortValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, double b) { - return a.doubleValue() <= b; + @Inline(value = "(($1).doubleValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, double b) { + return a.doubleValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= $2)", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, float b) { - return a.floatValue() <= b; + @Inline(value = "(($1).floatValue() == $2)", constantExpression=true) + public static boolean operator_equals(Short a, float b) { + return a.floatValue() == b; } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Short b) { - return a.shortValue() <= b.shortValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Short a, Long b) { + return a.longValue() == b.longValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Integer b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(Short a, Byte b) { + return a.shortValue() == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).floatValue() <= ($2).floatValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Float b) { - return a.floatValue() <= b.floatValue(); + @Inline(value = "(($1).floatValue() == ($2).floatValue())", constantExpression=true) + public static boolean operator_equals(Short a, Float b) { + return a.floatValue() == b.floatValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Long b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Short a, Integer b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).shortValue() <= ($2).shortValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Byte b) { - return a.shortValue() <= b.shortValue(); + @Inline(value = "(($1).doubleValue() == ($2).doubleValue())", constantExpression=true) + public static boolean operator_equals(Short a, Double b) { + return a.doubleValue() == b.doubleValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).doubleValue() <= ($2).doubleValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, Double b) { - return a.doubleValue() <= b.doubleValue(); + @Inline(value = "(($1).shortValue() == ($2).shortValue())", constantExpression=true) + public static boolean operator_equals(Short a, Short b) { + return a.shortValue() == b.shortValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).intValue() <= ($2).intValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, AtomicInteger b) { - return a.intValue() <= b.intValue(); + @Inline(value = "(($1).intValue() == ($2).intValue())", constantExpression=true) + public static boolean operator_equals(Short a, AtomicInteger b) { + return a.intValue() == b.intValue(); } /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a==b} */ @Pure - @Inline(value = "(($1).longValue() <= ($2).longValue())", constantExpression=true) - public static boolean operator_lessEqualsThan(Short a, AtomicLong b) { - return a.longValue() <= b.longValue(); + @Inline(value = "(($1).longValue() == ($2).longValue())", constantExpression=true) + public static boolean operator_equals(Short a, AtomicLong b) { + return a.longValue() == b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % $2)", constantExpression=true) - public static int operator_modulo(Short a, int b) { - return a.intValue() % b; + @Inline(value = "(($1).longValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, long b) { + return a.longValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % $2)", constantExpression=true) - public static long operator_modulo(Short a, long b) { - return a.longValue() % b; + @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, byte b) { + return a.shortValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) - public static int operator_modulo(Short a, short b) { - return a.shortValue() % b; + @Inline(value = "(($1).intValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, int b) { + return a.intValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) - public static int operator_modulo(Short a, byte b) { - return a.shortValue() % b; + @Inline(value = "(($1).shortValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, short b) { + return a.shortValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) - public static double operator_modulo(Short a, double b) { - return a.doubleValue() % b; + @Inline(value = "(($1).doubleValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, double b) { + return a.doubleValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) - public static float operator_modulo(Short a, float b) { - return a.floatValue() % b; + @Inline(value = "(($1).floatValue() > $2)", constantExpression=true) + public static boolean operator_greaterThan(Short a, float b) { + return a.floatValue() > b; } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(Short a, Short b) { - return a.shortValue() % b.shortValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Long b) { + return a.longValue() > b.longValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Short a, Integer b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Byte b) { + return a.shortValue() > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) - public static float operator_modulo(Short a, Float b) { - return a.floatValue() % b.floatValue(); + @Inline(value = "(($1).floatValue() > ($2).floatValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Float b) { + return a.floatValue() > b.floatValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Short a, Long b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Integer b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) - public static int operator_modulo(Short a, Byte b) { - return a.shortValue() % b.shortValue(); + @Inline(value = "(($1).doubleValue() > ($2).doubleValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Double b) { + return a.doubleValue() > b.doubleValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) - public static double operator_modulo(Short a, Double b) { - return a.doubleValue() % b.doubleValue(); + @Inline(value = "(($1).shortValue() > ($2).shortValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, Short b) { + return a.shortValue() > b.shortValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) - public static int operator_modulo(Short a, AtomicInteger b) { - return a.intValue() % b.intValue(); + @Inline(value = "(($1).intValue() > ($2).intValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, AtomicInteger b) { + return a.intValue() > b.intValue(); } - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a>b} */ @Pure - @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) - public static long operator_modulo(Short a, AtomicLong b) { - return a.longValue() % b.longValue(); + @Inline(value = "(($1).longValue() > ($2).longValue())", constantExpression=true) + public static boolean operator_greaterThan(Short a, AtomicLong b) { + return a.longValue() > b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, int b) { - return a.intValue() >= b; + @Inline(value = "(($1).longValue() % $2)", constantExpression=true) + public static long operator_modulo(Short a, long b) { + return a.longValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, long b) { - return a.longValue() >= b; + @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) + public static int operator_modulo(Short a, byte b) { + return a.shortValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, short b) { - return a.shortValue() >= b; + @Inline(value = "(($1).intValue() % $2)", constantExpression=true) + public static int operator_modulo(Short a, int b) { + return a.intValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ - @Pure - @Inline(value = "(($1).shortValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, byte b) { - return a.shortValue() >= b; + @Pure + @Inline(value = "(($1).shortValue() % $2)", constantExpression=true) + public static int operator_modulo(Short a, short b) { + return a.shortValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, double b) { - return a.doubleValue() >= b; + @Inline(value = "(($1).doubleValue() % $2)", constantExpression=true) + public static double operator_modulo(Short a, double b) { + return a.doubleValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= $2)", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, float b) { - return a.floatValue() >= b; + @Inline(value = "(($1).floatValue() % $2)", constantExpression=true) + public static float operator_modulo(Short a, float b) { + return a.floatValue() % b; } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Short b) { - return a.shortValue() >= b.shortValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Short a, Long b) { + return a.longValue() % b.longValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Integer b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(Short a, Byte b) { + return a.shortValue() % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).floatValue() >= ($2).floatValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Float b) { - return a.floatValue() >= b.floatValue(); + @Inline(value = "(($1).floatValue() % ($2).floatValue())", constantExpression=true) + public static float operator_modulo(Short a, Float b) { + return a.floatValue() % b.floatValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Long b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Short a, Integer b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).shortValue() >= ($2).shortValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Byte b) { - return a.shortValue() >= b.shortValue(); + @Inline(value = "(($1).doubleValue() % ($2).doubleValue())", constantExpression=true) + public static double operator_modulo(Short a, Double b) { + return a.doubleValue() % b.doubleValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).doubleValue() >= ($2).doubleValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, Double b) { - return a.doubleValue() >= b.doubleValue(); + @Inline(value = "(($1).shortValue() % ($2).shortValue())", constantExpression=true) + public static int operator_modulo(Short a, Short b) { + return a.shortValue() % b.shortValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).intValue() >= ($2).intValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, AtomicInteger b) { - return a.intValue() >= b.intValue(); + @Inline(value = "(($1).intValue() % ($2).intValue())", constantExpression=true) + public static int operator_modulo(Short a, AtomicInteger b) { + return a.intValue() % b.intValue(); } - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a%b} */ @Pure - @Inline(value = "(($1).longValue() >= ($2).longValue())", constantExpression=true) - public static boolean operator_greaterEqualsThan(Short a, AtomicLong b) { - return a.longValue() >= b.longValue(); + @Inline(value = "(($1).longValue() % ($2).longValue())", constantExpression=true) + public static long operator_modulo(Short a, AtomicLong b) { + return a.longValue() % b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + $2)", constantExpression=true) - public static int operator_plus(Short a, int b) { - return a.intValue() + b; + @Inline(value = "(($1).longValue() - $2)", constantExpression=true) + public static long operator_minus(Short a, long b) { + return a.longValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + $2)", constantExpression=true) - public static long operator_plus(Short a, long b) { - return a.longValue() + b; + @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) + public static int operator_minus(Short a, byte b) { + return a.shortValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) - public static int operator_plus(Short a, short b) { - return a.shortValue() + b; + @Inline(value = "(($1).intValue() - $2)", constantExpression=true) + public static int operator_minus(Short a, int b) { + return a.intValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + $2)", constantExpression=true) - public static int operator_plus(Short a, byte b) { - return a.shortValue() + b; + @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) + public static int operator_minus(Short a, short b) { + return a.shortValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + $2)", constantExpression=true) - public static double operator_plus(Short a, double b) { - return a.doubleValue() + b; + @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) + public static double operator_minus(Short a, double b) { + return a.doubleValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + $2)", constantExpression=true) - public static float operator_plus(Short a, float b) { - return a.floatValue() + b; + @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) + public static float operator_minus(Short a, float b) { + return a.floatValue() - b; } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) - public static int operator_plus(Short a, Short b) { - return a.shortValue() + b.shortValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Short a, Long b) { + return a.longValue() - b.longValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Short a, Integer b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) + public static int operator_minus(Short a, Byte b) { + return a.shortValue() - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).floatValue() + ($2).floatValue())", constantExpression=true) - public static float operator_plus(Short a, Float b) { - return a.floatValue() + b.floatValue(); + @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) + public static float operator_minus(Short a, Float b) { + return a.floatValue() - b.floatValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Short a, Long b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Short a, Integer b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).shortValue() + ($2).shortValue())", constantExpression=true) - public static int operator_plus(Short a, Byte b) { - return a.shortValue() + b.shortValue(); + @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) + public static double operator_minus(Short a, Double b) { + return a.doubleValue() - b.doubleValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).doubleValue() + ($2).doubleValue())", constantExpression=true) - public static double operator_plus(Short a, Double b) { - return a.doubleValue() + b.doubleValue(); + @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) + public static int operator_minus(Short a, Short b) { + return a.shortValue() - b.shortValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).intValue() + ($2).intValue())", constantExpression=true) - public static int operator_plus(Short a, AtomicInteger b) { - return a.intValue() + b.intValue(); + @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) + public static int operator_minus(Short a, AtomicInteger b) { + return a.intValue() - b.intValue(); } - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a-b} */ @Pure - @Inline(value = "(($1).longValue() + ($2).longValue())", constantExpression=true) - public static long operator_plus(Short a, AtomicLong b) { - return a.longValue() + b.longValue(); + @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) + public static long operator_minus(Short a, AtomicLong b) { + return a.longValue() - b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - $2)", constantExpression=true) - public static int operator_minus(Short a, int b) { - return a.intValue() - b; + @Inline(value = "(($1).longValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, long b) { + return a.longValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - $2)", constantExpression=true) - public static long operator_minus(Short a, long b) { - return a.longValue() - b; + @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, byte b) { + return a.shortValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) - public static int operator_minus(Short a, short b) { - return a.shortValue() - b; + @Inline(value = "(($1).intValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, int b) { + return a.intValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - $2)", constantExpression=true) - public static int operator_minus(Short a, byte b) { - return a.shortValue() - b; + @Inline(value = "(($1).shortValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, short b) { + return a.shortValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - $2)", constantExpression=true) - public static double operator_minus(Short a, double b) { - return a.doubleValue() - b; + @Inline(value = "(($1).doubleValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, double b) { + return a.doubleValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - $2)", constantExpression=true) - public static float operator_minus(Short a, float b) { - return a.floatValue() - b; + @Inline(value = "(($1).floatValue() < $2)", constantExpression=true) + public static boolean operator_lessThan(Short a, float b) { + return a.floatValue() < b; } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) - public static int operator_minus(Short a, Short b) { - return a.shortValue() - b.shortValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Long b) { + return a.longValue() < b.longValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Short a, Integer b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Byte b) { + return a.shortValue() < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).floatValue() - ($2).floatValue())", constantExpression=true) - public static float operator_minus(Short a, Float b) { - return a.floatValue() - b.floatValue(); + @Inline(value = "(($1).floatValue() < ($2).floatValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Float b) { + return a.floatValue() < b.floatValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Short a, Long b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Integer b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).shortValue() - ($2).shortValue())", constantExpression=true) - public static int operator_minus(Short a, Byte b) { - return a.shortValue() - b.shortValue(); + @Inline(value = "(($1).doubleValue() < ($2).doubleValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Double b) { + return a.doubleValue() < b.doubleValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).doubleValue() - ($2).doubleValue())", constantExpression=true) - public static double operator_minus(Short a, Double b) { - return a.doubleValue() - b.doubleValue(); + @Inline(value = "(($1).shortValue() < ($2).shortValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, Short b) { + return a.shortValue() < b.shortValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).intValue() - ($2).intValue())", constantExpression=true) - public static int operator_minus(Short a, AtomicInteger b) { - return a.intValue() - b.intValue(); + @Inline(value = "(($1).intValue() < ($2).intValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, AtomicInteger b) { + return a.intValue() < b.intValue(); } -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a<b} */ @Pure - @Inline(value = "(($1).longValue() - ($2).longValue())", constantExpression=true) - public static long operator_minus(Short a, AtomicLong b) { - return a.longValue() - b.longValue(); + @Inline(value = "(($1).longValue() < ($2).longValue())", constantExpression=true) + public static boolean operator_lessThan(Short a, AtomicLong b) { + return a.longValue() < b.longValue(); } // END GENERATED BLOCK diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateCasts.perl b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateCasts.perl new file mode 100755 index 0000000000..8423f91c96 --- /dev/null +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateCasts.perl @@ -0,0 +1,233 @@ +#!/usr/bin/env perl + +use strict; +use Data::Dumper; + +my %ERRORS = ( +); + +my %TEMPLATES = ( + 'toT2' => ' + /** Convert the given value to {@code #T2}. + * + * @param a a number of {@code #T1} type. + * @return the equivalent value to {@code a} of {@code #T2} type. + */ + @Pure + @Inline(value = "$3.pow(#I1, #I2)", imported = Math.class) + public static #T2 to#UCT2(#T1 a) { + return #CB; + } +', +); + +my %PRIMITIVES = ( + 'double' => '#', + 'float' => '#', + 'long' => '#', + 'int' => '#', + 'short' => '#', + 'byte' => '#', +); + +my %OBJECTS = ( + 'Double' => 'Double.valueOf(#)', + 'Float' => 'Float.valueOf(#)', + 'Long' => 'Long.valueOf(#)', + 'Integer' => 'Integer.valueOf(#)', + 'Short' => 'Short.valueOf(#)', + 'Byte' => 'Byte.valueOf(#)', +); + +my %ATOMICS = ( + 'AtomicLong' => 'new AtomicLong(#)', + 'AtomicInteger' => 'new AtomicInteger(#)', +); + +my %LEVEL = ( + 'Double' => 1, + 'double' => 1, + 'Float' => 2, + 'float' => 2, + 'Long' => 3, + 'long' => 3, + 'AtomicLong' => 3, + 'Integer' => 4, + 'int' => 4, + 'AtomicInteger' => 4, + 'Short' => 5, + 'short' => 5, + 'Byte' => 6, + 'byte' => 6, +); + +my @ACCESSORS = ( + '#.doubleValue()', + '#.floatValue()', + '#.longValue()', + '#.intValue()', + '#.shortValue()', + '#.byteValue()', +); + +my @RAW_CASTS = ( + '(double)#', + '(float)#', + '(long)#', + '(int)#', + '(short)#', + '(byte)#', +); + +my @RETURN_TYPES = ( + 'double', + 'float', + 'long', + 'int', + 'short', + 'byte', +); + +sub acc($$) { + if ($PRIMITIVES{$_[0]}) { + return $RAW_CASTS[$_[1] - 1]; + } + return $ACCESSORS[$_[1] - 1]; +} + +sub apply2($$$$$$$) { + my $r = "$_[0]"; + my $left = "$_[1]"; + my $right = "$_[2]"; + my $ucleft = ucfirst("$left"); + my $ucright = ucfirst("$right"); + my $racc1 = "$_[3]"; + my $racc2 = "$_[4]"; + my $crea1 = "$_[5]"; + my $crea2 = "$_[6]"; + + my $acc1 = "$racc1"; + $acc1 =~ s/#/a/g; + + my $acc2 = "$racc2"; + $acc2 =~ s/#/b/g; + + $r =~ s/\Q#T1\E/$left/g; + $r =~ s/\Q#T2\E/$right/g; + $r =~ s/\Q#UCT1\E/$ucleft/g; + $r =~ s/\Q#UCT2\E/$ucright/g; + + my $c1 = "$crea1"; + $c1 =~ s/#/$acc2/g; + $r =~ s/\Q#CA\E/$c1/g; + + my $c2 = "$crea2"; + $c2 =~ s/#/$acc1/g; + $r =~ s/\Q#CB\E/$c2/g; + + $r =~ s/\Q#A\E/$acc1/g; + $r =~ s/\Q#B\E/$acc2/g; + + my $i1 = ($acc1) ? "(\$1)$acc1" : "\$1"; + $r =~ s/\Q#I1\E/$i1/g; + my $i2 = ($acc2) ? "(\$2)$acc2" : "\$2"; + $r =~ s/\Q#I2\E/$i2/g; + return $r; +} + +while (my $file = glob("*CastExtensions.java")) { + unlink($file) or die("$file: $!\n"); +} + +my @FILES = (); + +my %ALLLEFTS = (%PRIMITIVES, %OBJECTS, %ATOMICS); + +while (my ($left, $creaLeft) = each(%ALLLEFTS)) { + local *FILE; + my $basename = (($PRIMITIVES{$left}) ? "Primitive" . ucfirst($left) : ${left}). "CastExtensions"; + push @FILES, $basename; + open(*FILE, "> ${basename}.java") or die("$!\n"); + print FILE "/* + * \$Id\$ + * + * SARL is an general-purpose agent programming language. + * More details on http://www.sarl.io + * + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the \"License\"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an \"AS IS\" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; + +import java.util.concurrent.atomic.AtomicInteger; +import java.util.concurrent.atomic.AtomicLong; + +import org.eclipse.xtext.xbase.lib.Inline; +import org.eclipse.xtext.xbase.lib.Pure; + +/** Provide static functions related to the casting of numbers of type {\@code $left}. + * + * \@author \$Author: sgalland\$ + * \@version \$FullVersion\$ + * \@mavengroupid \$GroupId\$ + * \@mavenartifactid \$ArtifactId\$ + * \@since 0.7 + * \@see \"https://github.com/eclipse/xtext-extras/issues/186\" + */ +\@SuppressWarnings(\"all\") +public final class ${basename} { + + private ${basename}() { + // + } + + // BEGIN GENERATED BLOCK\n"; + my %ALLRIGHTS = (%ATOMICS); + if (!$PRIMITIVES{$left} && !$OBJECTS{$left}) { + # Avoid to override outboxing. + %ALLRIGHTS = (%ALLRIGHTS, %PRIMITIVES); + while (my ($a, $b) = each(%OBJECTS)) { + if (!$ALLRIGHTS{lc($a)}) { + $ALLRIGHTS{$a} = $b; + } + } + } + while (my ($key, $res) = each(%TEMPLATES)) { + while (my ($right, $creaRight) = each(%ALLRIGHTS)) { + if (($left ne $right) && + (!$ERRORS{$key}{$left}{$right}) && + (!$ERRORS{$key}{'*'}{$right}) && + (!$ERRORS{$key}{$left}{'*'})) { + my $levelLeft = $LEVEL{$left}; + my $levelRight = $LEVEL{$right}; + my $minLevel = ($levelLeft > $levelRight) ? $levelLeft : $levelRight; + my $acc1 = acc($left, $minLevel); + my $acc2 = acc($right, $minLevel); + my $r = apply2("$res", $left, $right, $acc1, $acc2, $creaLeft, $creaRight); + print FILE "$r"; + } + } + } + + print FILE "\n\t// END GENERATED BLOCK\n\n}\n"; + close(*FILE); +} + +for my $file (@FILES) { + print "\t\tfeatures.add($file.class);\n"; +} + diff --git a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generate.perl b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateOperators.perl similarity index 78% rename from main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generate.perl rename to main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateOperators.perl index 9e8e1a4581..e6b5e3a5be 100755 --- a/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generate.perl +++ b/main/coreplugins/io.sarl.lang/src/io/sarl/lang/scoping/numbers/generateOperators.perl @@ -19,11 +19,11 @@ my %MONO_TEMPLATES = ( 'operator_minus' => ' - /** - *The unary minus operator. This is the equivalent to the Java\'s - function. + /** The unary {@code minus} operator. This is the equivalent to + * the Java\'s {@code -} function. * * @param i a number. - * @return -i + * @return {@code -i} */ @Pure @Inline(value = "(-#I)", constantExpression=true) @@ -35,12 +35,12 @@ my %BI_TEMPLATES = ( 'operator_plus' => ' - /** - *The binary plus operator. This is the equivalent to the Java + operator. + /** The binary {@code plus} operator. This is the equivalent to + * the Java {@code +} operator. * * @param a a number. * @param b a number. - * @return a+b + * @return {@code a+b} */ @Pure @Inline(value = "(#I1 + #I2)", constantExpression=true) @@ -49,12 +49,12 @@ } ', 'operator_minus' => ' -/** - *The binary minus operator. This is the equivalent to the Java - operator. + /** The binary {@code minus} operator. This is the equivalent to + * the Java {@code -} operator. * * @param a a number. * @param b a number. - * @return a-b + * @return {@code a-b} */ @Pure @Inline(value = "(#I1 - #I2)", constantExpression=true) @@ -63,12 +63,12 @@ } ', 'operator_multiply' => ' - /** - *The binary multiply operator. This is the equivalent to the Java * operator. + /** The binary {@code multiply} operator. This is the equivalent to + * the Java {@code *} operator. * * @param a a number. * @param b a number. - * @return a*b + * @return {@code a*b} */ @Pure @Inline(value = "(#I1 * #I2)", constantExpression=true) @@ -77,12 +77,12 @@ } ', 'operator_divide' => ' - /** - *The binary divide operator. This is the equivalent to the Java / operator. + /** The binary {@code divide} operator. This is the equivalent to + * the Java {@code /} operator. * * @param a a number. * @param b a number. - * @return a/b + * @return {@code a/b} */ @Pure @Inline(value = "(#I1 / #I2)", constantExpression=true) @@ -91,12 +91,12 @@ } ', 'operator_modulo' => ' - /** - *The binary modulo operator. This is the equivalent to the Java % operator. + /** The binary {@code modulo} operator. This is the equivalent to + * the Java {@code %} operator. * * @param a a number. * @param b a number. - * @return a%b + * @return {@code a%b} */ @Pure @Inline(value = "(#I1 % #I2)", constantExpression=true) @@ -105,12 +105,12 @@ } ', 'operator_lessThan' => ' - /** - *The binary lessThan operator. This is the equivalent to the Java < operator. + /** The binary {@code lessThan} operator. This is the equivalent to + * the Java {@code <} operator. * * @param a a number. * @param b a number. - * @return a<b + * @return {@code a<b} */ @Pure @Inline(value = "(#I1 < #I2)", constantExpression=true) @@ -119,12 +119,12 @@ } ', 'operator_lessEqualsThan' => ' - /** - *The binary lessEqualsThan operator. This is the equivalent to the Java <= operator. + /** The binary {@code lessEqualsThan} operator. This is the equivalent + * to the Java {@code <=} operator. * * @param a a number. * @param b a number. - * @return a<=b + * @return {@code a<=b} */ @Pure @Inline(value = "(#I1 <= #I2)", constantExpression=true) @@ -133,12 +133,12 @@ } ', 'operator_greaterThan' => ' - /** - *The binary greaterThan operator. This is the equivalent to the Java > operator. + /** The binary {@code greaterThan} operator. This is the equivalent + * to the Java {@code >} operator. * * @param a a number. * @param b a number. - * @return a>b + * @return {@code a>b} */ @Pure @Inline(value = "(#I1 > #I2)", constantExpression=true) @@ -148,12 +148,12 @@ ', 'operator_greaterEqualsThan' => ' - /** - *The binary greaterEqualsThan operator. This is the equivalent to the Java >= operator. + /** The binary {@code greaterEqualsThan} operator. This is the equivalent + * to the Java {@code >=} operator. * * @param a a number. * @param b a number. - * @return a>=b + * @return {@code a>=b} */ @Pure @Inline(value = "(#I1 >= #I2)", constantExpression=true) @@ -163,11 +163,11 @@ ', 'operator_equals' => ' /** - *The binary equals operator. This is the equivalent to the Java == operator. + *The binary {@code equals} operator. This is the equivalent to the Java {@code ==} operator. * * @param a a number. * @param b a number. - * @return a==b + * @return {@code a==b} */ @Pure @Inline(value = "(#I1 == #I2)", constantExpression=true) @@ -176,12 +176,12 @@ } ', 'operator_notEquals' => ' - /** - *The binary notEquals operator. This is the equivalent to the Java != operator. + /** The binary {@code notEquals} operator. This is the equivalent + * to the Java {@code !=} operator. * * @param a a number. * @param b a number. - * @return a!=b + * @return {@code a!=b} */ @Pure @Inline(value = "(#I1 != #I2)", constantExpression=true) @@ -190,12 +190,12 @@ } ', 'operator_power' => ' - /** - *The binary power operator. This is the equivalent to the Java\'s Math.pow() function. + /** The binary {@code power} operator. This is the equivalent to + * the Java\'s {@code Math.pow()} function. * * @param a a number. * @param b a number. - * @return Math.pow(a, b) + * @return {@code Math::pow(a, b)} */ @Pure @Inline(value = "$3.pow(#I1, #I2)", imported = Math.class) @@ -274,9 +274,11 @@ ($$$$) my $r = "$_[0]"; my $rt = "$_[1]"; my $left = "$_[2]"; + my $ucleft = ucfirst("$left"); my $acc1 = "$_[3]"; $r =~ s/\Q#RT\E/$rt/g; $r =~ s/\Q#T\E/$left/g; + $r =~ s/\Q#UCT\E/$ucleft/g; $r =~ s/\Q#A\E/i$acc1/g; my $i1 = ($acc1) ? "(\$1)$acc1" : "\$1"; $r =~ s/\Q#I\E/$i1/g; @@ -288,11 +290,15 @@ ($$$$$$) my $rt = "$_[1]"; my $left = "$_[2]"; my $right = "$_[3]"; + my $ucleft = ucfirst("$left"); + my $ucright = ucfirst("$right"); my $acc1 = "$_[4]"; my $acc2 = "$_[5]"; $r =~ s/\Q#RT\E/$rt/g; $r =~ s/\Q#T1\E/$left/g; $r =~ s/\Q#T2\E/$right/g; + $r =~ s/\Q#UCT1\E/$ucleft/g; + $r =~ s/\Q#UCT2\E/$ucright/g; $r =~ s/\Q#A\E/a$acc1/g; $r =~ s/\Q#B\E/b$acc2/g; my $i1 = ($acc1) ? "(\$1)$acc1" : "\$1"; @@ -302,11 +308,15 @@ ($$$$$$) return $r; } +while (my $file = glob("*OperatorExtensions.java")) { + unlink($file) or die("$file: $!\n"); +} + my @FILES = (); for my $left (keys(%PRIMITIVES), keys(%OBJECTS), keys(%ATOMICS)) { local *FILE; - my $basename = (($PRIMITIVES{$left}) ? "Primitive" . ucfirst($left) : ${left}). "Extensions"; + my $basename = (($PRIMITIVES{$left}) ? "Primitive" . ucfirst($left) : ${left}). "OperatorExtensions"; push @FILES, $basename; open(*FILE, "> ${basename}.java") or die("$!\n"); print FILE "/* @@ -330,7 +340,9 @@ ($$$$$$) * limitations under the License. */ -package io.sarl.lang.bugfixes.pending.bug764; +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; @@ -338,7 +350,7 @@ package io.sarl.lang.bugfixes.pending.bug764; import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {\@code $left}. * * \@author \$Author: sgalland\$ * \@version \$FullVersion\$ @@ -387,7 +399,7 @@ package io.sarl.lang.bugfixes.pending.bug764; } local *FILE; -my $basename = "NumberExtensions"; +my $basename = "NumberOperatorExtensions"; push @FILES, $basename; open(*FILE, "> ${basename}.java") or die("$!\n"); print FILE "/* @@ -411,12 +423,14 @@ package io.sarl.lang.bugfixes.pending.bug764; * limitations under the License. */ -package io.sarl.lang.bugfixes.pending.bug764; +// THIS FILE IS AUTO-GENERATED. DO NOT CHANGE MANUALLY + +package io.sarl.lang.scoping.numbers; import org.eclipse.xtext.xbase.lib.Inline; import org.eclipse.xtext.xbase.lib.Pure; -/** Provide static operators for atomic numbers. +/** Provide static operators for numbers of type {\@code Number}. * * \@author \$Author: sgalland\$ * \@version \$FullVersion\$ @@ -443,6 +457,6 @@ package io.sarl.lang.bugfixes.pending.bug764; close(*FILE); for my $file (@FILES) { - print "\t\txtextList.add($file.class);\n"; + print "\t\tfeatures.add($file.class);\n"; } diff --git a/tests/io.sarl.lang.tests/src/test/java/io/sarl/lang/tests/general/parsing/general/CastKeywordTest.java b/tests/io.sarl.lang.tests/src/test/java/io/sarl/lang/tests/general/parsing/general/CastKeywordTest.java new file mode 100644 index 0000000000..7927cf5405 --- /dev/null +++ b/tests/io.sarl.lang.tests/src/test/java/io/sarl/lang/tests/general/parsing/general/CastKeywordTest.java @@ -0,0 +1,61 @@ +/* + * Copyright (C) 2014-2017 the original authors or authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package io.sarl.lang.tests.general.parsing.general; + +import static org.junit.Assert.assertEquals; +import static org.junit.Assert.assertNull; +import static org.junit.Assert.assertTrue; +import io.sarl.lang.sarl.SarlAction; +import io.sarl.lang.sarl.SarlAgent; +import io.sarl.lang.sarl.SarlPackage; +import io.sarl.lang.sarl.SarlScript; +import io.sarl.lang.validation.IssueCodes; +import io.sarl.tests.api.AbstractSarlTest; + +import org.eclipse.xtext.serializer.ISerializer; +import org.eclipse.xtext.xbase.XbasePackage; +import org.eclipse.xtext.xbase.annotations.xAnnotations.XAnnotationsPackage; +import org.eclipse.xtext.xtype.XtypePackage; +import org.junit.Test; + +import com.google.common.base.Strings; +import com.google.inject.Inject; + +/** + * @author $Author: sgalland$ + * @version $Name$ $Revision$ $Date$ + * @mavengroupid $GroupId$ + * @mavenartifactid $ArtifactId$ + */ +@SuppressWarnings("all") +public class CastKeywordTest extends AbstractSarlTest { + + @Test + public void assertTrue() throws Exception { + SarlScript mas = file(multilineString( + "agent A1 {", + " def operator_cast(n : Integer) : int {", + " n.intValue", + " }", + " def fct(x : Integer) : int {", + " return x as int", + " }", + "}" + )); + validate(mas).assertNoErrors(); + } + +} \ No newline at end of file