io.sarl.lang.core.scoping.extensions.numbers.comparison
Class LongComparisonExtensions
final class LongComparisonExtensions
extends java.lang.Object
Provide static comparison 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 boolean operator_equals(Long,long)
The binary equals operator.
static boolean operator_equals(Long,byte)
The binary equals operator.
static boolean operator_equals(Long,int)
The binary equals operator.
static boolean operator_equals(Long,short)
The binary equals operator.
static boolean operator_equals(Long,double)
The binary equals operator.
static boolean operator_equals(Long,float)
The binary equals operator.
static boolean operator_equals(Long,Number)
The binary equals operator.
static boolean operator_greaterEqualsThan(Long,long)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,byte)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,int)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,short)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,double)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,float)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Long,Number)
The binary greaterEqualsThan operator.
static boolean operator_greaterThan(Long,long)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,byte)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,int)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,short)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,double)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,float)
The binary greaterThan operator.
static boolean operator_greaterThan(Long,Number)
The binary greaterThan operator.
static boolean operator_lessEqualsThan(Long,long)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,byte)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,int)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,short)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,double)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,float)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Long,Number)
The binary lessEqualsThan operator.
static boolean operator_lessThan(Long,long)
The binary lessThan operator.
static boolean operator_lessThan(Long,byte)
The binary lessThan operator.
static boolean operator_lessThan(Long,int)
The binary lessThan operator.
static boolean operator_lessThan(Long,short)
The binary lessThan operator.
static boolean operator_lessThan(Long,double)
The binary lessThan operator.
static boolean operator_lessThan(Long,float)
The binary lessThan operator.
static boolean operator_lessThan(Long,Number)
The binary lessThan operator.
static boolean operator_notEquals(Long,long)
The binary notEquals operator.
static boolean operator_notEquals(Long,byte)
The binary notEquals operator.
static boolean operator_notEquals(Long,int)
The binary notEquals operator.
static boolean operator_notEquals(Long,short)
The binary notEquals operator.
static boolean operator_notEquals(Long,double)
The binary notEquals operator.
static boolean operator_notEquals(Long,float)
The binary notEquals operator.
static boolean operator_notEquals(Long,Number)
The binary notEquals operator.
static int operator_spaceship(Long,byte)
The number comparison operator.
static int operator_spaceship(Long,short)
The number comparison operator.
static int operator_spaceship(Long,int)
The number comparison operator.
static int operator_spaceship(Long,long)
The number comparison operator.
static int operator_spaceship(Long,float)
The number comparison operator.
static int operator_spaceship(Long,double)
The number comparison operator.
static int operator_spaceship(Long,Byte)
The number comparison operator.
static int operator_spaceship(Long,Double)
The number comparison operator.
static int operator_spaceship(Long,Float)
The number comparison operator.
static int operator_spaceship(Long,Integer)
The number comparison operator.
static int operator_spaceship(Long,Long)
The number comparison operator.
static int operator_spaceship(Long,Number)
The number comparison operator.
static int operator_spaceship(Long,Short)
The number comparison operator.
static int operator_spaceship(Long,AtomicInteger)
The number comparison operator.
static int operator_spaceship(Long,AtomicLong)
The number comparison operator.
Action Details
operator_equals(Long,long)
def operator_equals(Long,long) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,byte)
def operator_equals(Long,byte) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,int)
def operator_equals(Long,int) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,short)
def operator_equals(Long,short) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,double)
def operator_equals(Long,double) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,float)
def operator_equals(Long,float) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_equals(Long,Number)
def operator_equals(Long,Number) : boolean
The binary equals operator. This is the equivalent to the Java == operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left==right
operator_greaterEqualsThan(Long,long)
def operator_greaterEqualsThan(Long,long) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,byte)
def operator_greaterEqualsThan(Long,byte) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,int)
def operator_greaterEqualsThan(Long,int) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,short)
def operator_greaterEqualsThan(Long,short) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,double)
def operator_greaterEqualsThan(Long,double) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,float)
def operator_greaterEqualsThan(Long,float) : boolean
The binary greaterEqualsThan 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_greaterEqualsThan(Long,Number)
def operator_greaterEqualsThan(Long,Number) : boolean
The binary greaterEqualsThan 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_greaterThan(Long,long)
def operator_greaterThan(Long,long) : boolean
The binary greaterThan 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_greaterThan(Long,byte)
def operator_greaterThan(Long,byte) : boolean
The binary greaterThan 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_greaterThan(Long,int)
def operator_greaterThan(Long,int) : boolean
The binary greaterThan 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_greaterThan(Long,short)
def operator_greaterThan(Long,short) : boolean
The binary greaterThan 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_greaterThan(Long,double)
def operator_greaterThan(Long,double) : boolean
The binary greaterThan 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_greaterThan(Long,float)
def operator_greaterThan(Long,float) : boolean
The binary greaterThan 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_greaterThan(Long,Number)
def operator_greaterThan(Long,Number) : boolean
The binary greaterThan 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_lessEqualsThan(Long,long)
def operator_lessEqualsThan(Long,long) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,byte)
def operator_lessEqualsThan(Long,byte) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,int)
def operator_lessEqualsThan(Long,int) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,short)
def operator_lessEqualsThan(Long,short) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,double)
def operator_lessEqualsThan(Long,double) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,float)
def operator_lessEqualsThan(Long,float) : boolean
The binary lessEqualsThan 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_lessEqualsThan(Long,Number)
def operator_lessEqualsThan(Long,Number) : boolean
The binary lessEqualsThan 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_lessThan(Long,long)
def operator_lessThan(Long,long) : boolean
The binary lessThan 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_lessThan(Long,byte)
def operator_lessThan(Long,byte) : boolean
The binary lessThan 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_lessThan(Long,int)
def operator_lessThan(Long,int) : boolean
The binary lessThan 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_lessThan(Long,short)
def operator_lessThan(Long,short) : boolean
The binary lessThan 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_lessThan(Long,double)
def operator_lessThan(Long,double) : boolean
The binary lessThan 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_lessThan(Long,float)
def operator_lessThan(Long,float) : boolean
The binary lessThan 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_lessThan(Long,Number)
def operator_lessThan(Long,Number) : boolean
The binary lessThan 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_notEquals(Long,long)
def operator_notEquals(Long,long) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,byte)
def operator_notEquals(Long,byte) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,int)
def operator_notEquals(Long,int) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,short)
def operator_notEquals(Long,short) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,double)
def operator_notEquals(Long,double) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,float)
def operator_notEquals(Long,float) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_notEquals(Long,Number)
def operator_notEquals(Long,Number) : boolean
The binary notEquals operator. This is the equivalent to the Java != operator. This function is null-safe.
Parameters:
left - a number.
right - a number.
Returns:
left!=right
operator_spaceship(Long,byte)
def operator_spaceship(Long,byte) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,short)
def operator_spaceship(Long,short) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,int)
def operator_spaceship(Long,int) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,long)
def operator_spaceship(Long,long) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,float)
def operator_spaceship(Long,float) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,double)
def operator_spaceship(Long,double) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Byte)
def operator_spaceship(Long,Byte) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Double)
def operator_spaceship(Long,Double) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Float)
def operator_spaceship(Long,Float) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Integer)
def operator_spaceship(Long,Integer) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Long)
def operator_spaceship(Long,Long) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Number)
def operator_spaceship(Long,Number) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,Short)
def operator_spaceship(Long,Short) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,AtomicInteger)
def operator_spaceship(Long,AtomicInteger) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .
operator_spaceship(Long,AtomicLong)
def operator_spaceship(Long,AtomicLong) : int
The number comparison operator. This is equivalent to the Java compareTo function on numbers. This function is null-safe.
Parameters:
left - a number
right - a number.
Returns:
the value 0 if left == right ; a value less than 0 if left < right ; and a value greater than 0 if left > right .