io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class PrimitiveShortArithmeticExtensions
final class PrimitiveShortArithmeticExtensions
extends java.lang.Object
Provide static operators for numbers of type short.
Maven Group Identifier:
io.sarl.lang
Maven Artifact Identifier:
core
Since:
0.7
See:
"https://github.com/eclipse/xtext-extras/issues/186"
Action Summary
Modifier and type Action and description
static int operator_divide(short,Byte)
The binary divide operator.
static float operator_divide(short,Float)
The binary divide operator.
static int operator_divide(short,Integer)
The binary divide operator.
static long operator_divide(short,Long)
The binary divide operator.
static double operator_divide(short,Number)
The binary divide operator.
static int operator_divide(short,Short)
The binary divide operator.
static int operator_divide(short,AtomicInteger)
The binary divide operator.
static long operator_divide(short,AtomicLong)
The binary divide operator.
static int operator_minus(short,Byte)
The binary minus operator.
static float operator_minus(short,Float)
The binary minus operator.
static int operator_minus(short,Integer)
The binary minus operator.
static long operator_minus(short,Long)
The binary minus operator.
static double operator_minus(short,Number)
The binary minus operator.
static int operator_minus(short,Short)
The binary minus operator.
static int operator_minus(short,AtomicInteger)
The binary minus operator.
static long operator_minus(short,AtomicLong)
The binary minus operator.
static int operator_modulo(short,Byte)
The binary modulo operator.
static float operator_modulo(short,Float)
The binary modulo operator.
static int operator_modulo(short,Integer)
The binary modulo operator.
static long operator_modulo(short,Long)
The binary modulo operator.
static double operator_modulo(short,Number)
The binary modulo operator.
static int operator_modulo(short,Short)
The binary modulo operator.
static int operator_modulo(short,AtomicInteger)
The binary modulo operator.
static long operator_modulo(short,AtomicLong)
The binary modulo operator.
static int operator_multiply(short,Byte)
The binary multiply operator.
static float operator_multiply(short,Float)
The binary multiply operator.
static int operator_multiply(short,Integer)
The binary multiply operator.
static long operator_multiply(short,Long)
The binary multiply operator.
static double operator_multiply(short,Number)
The binary multiply operator.
static int operator_multiply(short,Short)
The binary multiply operator.
static int operator_multiply(short,AtomicInteger)
The binary multiply operator.
static long operator_multiply(short,AtomicLong)
The binary multiply operator.
static int operator_plus(short,Byte)
The binary plus operator.
static float operator_plus(short,Float)
The binary plus operator.
static int operator_plus(short,Integer)
The binary plus operator.
static long operator_plus(short,Long)
The binary plus operator.
static double operator_plus(short,Number)
The binary plus operator.
static int operator_plus(short,Short)
The binary plus operator.
static int operator_plus(short,AtomicInteger)
The binary plus operator.
static long operator_plus(short,AtomicLong)
The binary plus operator.
static double operator_power(short,Number)
The binary power operator.
Action Details
operator_divide(short,Byte)
def operator_divide(short,Byte) : int
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,Float)
def operator_divide(short,Float) : float
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,Integer)
def operator_divide(short,Integer) : int
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,Long)
def operator_divide(short,Long) : long
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,Number)
def operator_divide(short,Number) : double
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,Short)
def operator_divide(short,Short) : int
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,AtomicInteger)
def operator_divide(short,AtomicInteger) : int
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_divide(short,AtomicLong)
def operator_divide(short,AtomicLong) : long
The binary divide operator. This is the equivalent to the Java / operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left/right
operator_minus(short,Byte)
def operator_minus(short,Byte) : int
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,Float)
def operator_minus(short,Float) : float
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,Integer)
def operator_minus(short,Integer) : int
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,Long)
def operator_minus(short,Long) : long
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,Number)
def operator_minus(short,Number) : double
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,Short)
def operator_minus(short,Short) : int
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,AtomicInteger)
def operator_minus(short,AtomicInteger) : int
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_minus(short,AtomicLong)
def operator_minus(short,AtomicLong) : long
The binary minus operator. This is the equivalent to the Java - operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left-right
operator_modulo(short,Byte)
def operator_modulo(short,Byte) : int
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,Float)
def operator_modulo(short,Float) : float
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,Integer)
def operator_modulo(short,Integer) : int
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,Long)
def operator_modulo(short,Long) : long
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,Number)
def operator_modulo(short,Number) : double
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,Short)
def operator_modulo(short,Short) : int
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,AtomicInteger)
def operator_modulo(short,AtomicInteger) : int
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_modulo(short,AtomicLong)
def operator_modulo(short,AtomicLong) : long
The binary modulo operator. This is the equivalent to the Java % operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left%right
operator_multiply(short,Byte)
def operator_multiply(short,Byte) : int
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,Float)
def operator_multiply(short,Float) : float
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,Integer)
def operator_multiply(short,Integer) : int
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,Long)
def operator_multiply(short,Long) : long
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,Number)
def operator_multiply(short,Number) : double
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,Short)
def operator_multiply(short,Short) : int
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,AtomicInteger)
def operator_multiply(short,AtomicInteger) : int
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_multiply(short,AtomicLong)
def operator_multiply(short,AtomicLong) : long
The binary multiply operator. This is the equivalent to the Java * operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left*right
operator_plus(short,Byte)
def operator_plus(short,Byte) : int
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,Float)
def operator_plus(short,Float) : float
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,Integer)
def operator_plus(short,Integer) : int
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,Long)
def operator_plus(short,Long) : long
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,Number)
def operator_plus(short,Number) : double
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,Short)
def operator_plus(short,Short) : int
The binary plus operator. This is the equivalent to the Java + operator.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,AtomicInteger)
def operator_plus(short,AtomicInteger) : int
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(short,AtomicLong)
def operator_plus(short,AtomicLong) : long
The binary plus operator. This is the equivalent to the Java + operator. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_power(short,Number)
def operator_power(short,Number) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function. This function is not null-safe.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)