io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class ShortArithmeticExtensions
final class ShortArithmeticExtensions
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 long operator_divide(Short,long)
The binary divide operator.
static int operator_divide(Short,byte)
The binary divide operator.
static int operator_divide(Short,int)
The binary divide operator.
static int operator_divide(Short,short)
The binary divide operator.
static double operator_divide(Short,double)
The binary divide operator.
static float operator_divide(Short,float)
The binary divide operator.
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)
The unary minus operator.
static long operator_minus(Short,long)
The binary minus operator.
static int operator_minus(Short,byte)
The binary minus operator.
static int operator_minus(Short,int)
The binary minus operator.
static int operator_minus(Short,short)
The binary minus operator.
static double operator_minus(Short,double)
The binary minus operator.
static float operator_minus(Short,float)
The binary minus 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 long operator_modulo(Short,long)
The binary modulo operator.
static int operator_modulo(Short,byte)
The binary modulo operator.
static int operator_modulo(Short,int)
The binary modulo operator.
static int operator_modulo(Short,short)
The binary modulo operator.
static double operator_modulo(Short,double)
The binary modulo operator.
static float operator_modulo(Short,float)
The binary modulo 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 long operator_multiply(Short,long)
The binary multiply operator.
static int operator_multiply(Short,byte)
The binary multiply operator.
static int operator_multiply(Short,int)
The binary multiply operator.
static int operator_multiply(Short,short)
The binary multiply operator.
static double operator_multiply(Short,double)
The binary multiply operator.
static float operator_multiply(Short,float)
The binary multiply 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 long operator_plus(Short,long)
The binary plus operator.
static int operator_plus(Short,byte)
The binary plus operator.
static int operator_plus(Short,int)
The binary plus operator.
static int operator_plus(Short,short)
The binary plus operator.
static double operator_plus(Short,double)
The binary plus operator.
static float operator_plus(Short,float)
The binary plus 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,long)
The binary power operator.
static double operator_power(Short,byte)
The binary power operator.
static double operator_power(Short,int)
The binary power operator.
static double operator_power(Short,short)
The binary power operator.
static double operator_power(Short,double)
The binary power operator.
static double operator_power(Short,float)
The binary power operator.
static double operator_power(Short,Number)
The binary power operator.
Action Details
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,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,int)
def operator_divide(Short,int) : 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,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,double)
def operator_divide(Short,double) : 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,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,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)
def operator_minus(Short) : int
The unary minus operator. This is the equivalent to the Java's - function. This function is not null-safe.
Parameters:
number - a number.
Returns:
-number
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,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,int)
def operator_minus(Short,int) : 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,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,double)
def operator_minus(Short,double) : 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,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,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,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,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,int)
def operator_modulo(Short,int) : 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,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,double)
def operator_modulo(Short,double) : 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,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,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,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,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,int)
def operator_multiply(Short,int) : 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,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,double)
def operator_multiply(Short,double) : 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,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,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,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,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,int)
def operator_plus(Short,int) : 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,short)
def operator_plus(Short,short) : 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,double)
def operator_plus(Short,double) : 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,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,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,long)
def operator_power(Short,long) : 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)
operator_power(Short,byte)
def operator_power(Short,byte) : 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)
operator_power(Short,int)
def operator_power(Short,int) : 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)
operator_power(Short,short)
def operator_power(Short,short) : double
The binary power operator. This is the equivalent to the Java's Math.pow() function.
Parameters:
left - a number.
right - a number.
Returns:
Math::pow(left, right)
operator_power(Short,double)
def operator_power(Short,double) : 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)
operator_power(Short,float)
def operator_power(Short,float) : 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)
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)