io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class LongArithmeticExtensions
final class LongArithmeticExtensions
extends java.lang.Object
Provide static operators for numbers of type Long.
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(Long,long)
The binary divide operator.
static long operator_divide(Long,byte)
The binary divide operator.
static long operator_divide(Long,int)
The binary divide operator.
static long operator_divide(Long,short)
The binary divide operator.
static double operator_divide(Long,double)
The binary divide operator.
static float operator_divide(Long,float)
The binary divide operator.
static long operator_divide(Long,Byte)
The binary divide operator.
static float operator_divide(Long,Float)
The binary divide operator.
static long operator_divide(Long,Integer)
The binary divide operator.
static long operator_divide(Long,Long)
The binary divide operator.
static double operator_divide(Long,Number)
The binary divide operator.
static long operator_divide(Long,Short)
The binary divide operator.
static long operator_divide(Long,AtomicInteger)
The binary divide operator.
static long operator_divide(Long,AtomicLong)
The binary divide operator.
static long operator_minus(Long)
The unary minus operator.
static long operator_minus(Long,long)
The binary minus operator.
static long operator_minus(Long,byte)
The binary minus operator.
static long operator_minus(Long,int)
The binary minus operator.
static long operator_minus(Long,short)
The binary minus operator.
static double operator_minus(Long,double)
The binary minus operator.
static float operator_minus(Long,float)
The binary minus operator.
static long operator_minus(Long,Byte)
The binary minus operator.
static float operator_minus(Long,Float)
The binary minus operator.
static long operator_minus(Long,Integer)
The binary minus operator.
static long operator_minus(Long,Long)
The binary minus operator.
static double operator_minus(Long,Number)
The binary minus operator.
static long operator_minus(Long,Short)
The binary minus operator.
static long operator_minus(Long,AtomicInteger)
The binary minus operator.
static long operator_minus(Long,AtomicLong)
The binary minus operator.
static long operator_modulo(Long,long)
The binary modulo operator.
static long operator_modulo(Long,byte)
The binary modulo operator.
static long operator_modulo(Long,int)
The binary modulo operator.
static long operator_modulo(Long,short)
The binary modulo operator.
static double operator_modulo(Long,double)
The binary modulo operator.
static float operator_modulo(Long,float)
The binary modulo operator.
static long operator_modulo(Long,Byte)
The binary modulo operator.
static float operator_modulo(Long,Float)
The binary modulo operator.
static long operator_modulo(Long,Integer)
The binary modulo operator.
static long operator_modulo(Long,Long)
The binary modulo operator.
static double operator_modulo(Long,Number)
The binary modulo operator.
static long operator_modulo(Long,Short)
The binary modulo operator.
static long operator_modulo(Long,AtomicInteger)
The binary modulo operator.
static long operator_modulo(Long,AtomicLong)
The binary modulo operator.
static long operator_multiply(Long,long)
The binary multiply operator.
static long operator_multiply(Long,byte)
The binary multiply operator.
static long operator_multiply(Long,int)
The binary multiply operator.
static long operator_multiply(Long,short)
The binary multiply operator.
static double operator_multiply(Long,double)
The binary multiply operator.
static float operator_multiply(Long,float)
The binary multiply operator.
static long operator_multiply(Long,Byte)
The binary multiply operator.
static float operator_multiply(Long,Float)
The binary multiply operator.
static long operator_multiply(Long,Integer)
The binary multiply operator.
static long operator_multiply(Long,Long)
The binary multiply operator.
static double operator_multiply(Long,Number)
The binary multiply operator.
static long operator_multiply(Long,Short)
The binary multiply operator.
static long operator_multiply(Long,AtomicInteger)
The binary multiply operator.
static long operator_multiply(Long,AtomicLong)
The binary multiply operator.
static long operator_plus(Long,long)
The binary plus operator.
static long operator_plus(Long,byte)
The binary plus operator.
static long operator_plus(Long,int)
The binary plus operator.
static long operator_plus(Long,short)
The binary plus operator.
static double operator_plus(Long,double)
The binary plus operator.
static float operator_plus(Long,float)
The binary plus operator.
static long operator_plus(Long,Byte)
The binary plus operator.
static float operator_plus(Long,Float)
The binary plus operator.
static long operator_plus(Long,Integer)
The binary plus operator.
static long operator_plus(Long,Long)
The binary plus operator.
static double operator_plus(Long,Number)
The binary plus operator.
static long operator_plus(Long,Short)
The binary plus operator.
static long operator_plus(Long,AtomicInteger)
The binary plus operator.
static long operator_plus(Long,AtomicLong)
The binary plus operator.
static double operator_power(Long,long)
The binary power operator.
static double operator_power(Long,byte)
The binary power operator.
static double operator_power(Long,int)
The binary power operator.
static double operator_power(Long,short)
The binary power operator.
static double operator_power(Long,double)
The binary power operator.
static double operator_power(Long,float)
The binary power operator.
static double operator_power(Long,Number)
The binary power operator.
Action Details
operator_divide(Long,long)
def operator_divide(Long,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(Long,byte)
def operator_divide(Long,byte) : 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(Long,int)
def operator_divide(Long,int) : 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(Long,short)
def operator_divide(Long,short) : 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(Long,double)
def operator_divide(Long,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(Long,float)
def operator_divide(Long,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(Long,Byte)
def operator_divide(Long,Byte) : 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(Long,Float)
def operator_divide(Long,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(Long,Integer)
def operator_divide(Long,Integer) : 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(Long,Long)
def operator_divide(Long,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(Long,Number)
def operator_divide(Long,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(Long,Short)
def operator_divide(Long,Short) : 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(Long,AtomicInteger)
def operator_divide(Long,AtomicInteger) : 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(Long,AtomicLong)
def operator_divide(Long,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(Long)
def operator_minus(Long) : long
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(Long,long)
def operator_minus(Long,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(Long,byte)
def operator_minus(Long,byte) : 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(Long,int)
def operator_minus(Long,int) : 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(Long,short)
def operator_minus(Long,short) : 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(Long,double)
def operator_minus(Long,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(Long,float)
def operator_minus(Long,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(Long,Byte)
def operator_minus(Long,Byte) : 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(Long,Float)
def operator_minus(Long,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(Long,Integer)
def operator_minus(Long,Integer) : 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(Long,Long)
def operator_minus(Long,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(Long,Number)
def operator_minus(Long,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(Long,Short)
def operator_minus(Long,Short) : 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(Long,AtomicInteger)
def operator_minus(Long,AtomicInteger) : 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(Long,AtomicLong)
def operator_minus(Long,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(Long,long)
def operator_modulo(Long,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(Long,byte)
def operator_modulo(Long,byte) : 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(Long,int)
def operator_modulo(Long,int) : 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(Long,short)
def operator_modulo(Long,short) : 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(Long,double)
def operator_modulo(Long,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(Long,float)
def operator_modulo(Long,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(Long,Byte)
def operator_modulo(Long,Byte) : 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(Long,Float)
def operator_modulo(Long,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(Long,Integer)
def operator_modulo(Long,Integer) : 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(Long,Long)
def operator_modulo(Long,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(Long,Number)
def operator_modulo(Long,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(Long,Short)
def operator_modulo(Long,Short) : 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(Long,AtomicInteger)
def operator_modulo(Long,AtomicInteger) : 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(Long,AtomicLong)
def operator_modulo(Long,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(Long,long)
def operator_multiply(Long,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(Long,byte)
def operator_multiply(Long,byte) : 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(Long,int)
def operator_multiply(Long,int) : 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(Long,short)
def operator_multiply(Long,short) : 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(Long,double)
def operator_multiply(Long,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(Long,float)
def operator_multiply(Long,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(Long,Byte)
def operator_multiply(Long,Byte) : 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(Long,Float)
def operator_multiply(Long,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(Long,Integer)
def operator_multiply(Long,Integer) : 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(Long,Long)
def operator_multiply(Long,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(Long,Number)
def operator_multiply(Long,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(Long,Short)
def operator_multiply(Long,Short) : 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(Long,AtomicInteger)
def operator_multiply(Long,AtomicInteger) : 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(Long,AtomicLong)
def operator_multiply(Long,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(Long,long)
def operator_plus(Long,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(Long,byte)
def operator_plus(Long,byte) : 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(Long,int)
def operator_plus(Long,int) : 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(Long,short)
def operator_plus(Long,short) : 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(Long,double)
def operator_plus(Long,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(Long,float)
def operator_plus(Long,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(Long,Byte)
def operator_plus(Long,Byte) : 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(Long,Float)
def operator_plus(Long,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(Long,Integer)
def operator_plus(Long,Integer) : 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(Long,Long)
def operator_plus(Long,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(Long,Number)
def operator_plus(Long,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(Long,Short)
def operator_plus(Long,Short) : long
The binary plus operator. This is the equivalent to the Java + operator.
Parameters:
left - a number.
right - a number.
Returns:
left+right
operator_plus(Long,AtomicInteger)
def operator_plus(Long,AtomicInteger) : 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(Long,AtomicLong)
def operator_plus(Long,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(Long,long)
def operator_power(Long,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(Long,byte)
def operator_power(Long,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(Long,int)
def operator_power(Long,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(Long,short)
def operator_power(Long,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(Long,double)
def operator_power(Long,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(Long,float)
def operator_power(Long,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(Long,Number)
def operator_power(Long,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)