io.sarl.lang.core.scoping.extensions.numbers.arithmetic
Class PrimitiveLongArithmeticExtensions
final class PrimitiveLongArithmeticExtensions
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,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,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,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,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,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,Number)
The binary power operator.
Action Details
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,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,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,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,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,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)