io.sarl.lang.core.scoping.extensions.numbers.comparison
Class DoubleComparisonExtensions
final class DoubleComparisonExtensions
extends java.lang.Object
Provide static comparison operators for numbers of type Double.
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(Double,long)
The binary equals operator.
static boolean operator_equals(Double,byte)
The binary equals operator.
static boolean operator_equals(Double,int)
The binary equals operator.
static boolean operator_equals(Double,short)
The binary equals operator.
static boolean operator_equals(Double,double)
The binary equals operator.
static boolean operator_equals(Double,float)
The binary equals operator.
static boolean operator_equals(Double,Number)
The binary equals operator.
static boolean operator_greaterEqualsThan(Double,long)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,byte)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,int)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,short)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,double)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,float)
The binary greaterEqualsThan operator.
static boolean operator_greaterEqualsThan(Double,Number)
The binary greaterEqualsThan operator.
static boolean operator_greaterThan(Double,long)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,byte)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,int)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,short)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,double)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,float)
The binary greaterThan operator.
static boolean operator_greaterThan(Double,Number)
The binary greaterThan operator.
static boolean operator_lessEqualsThan(Double,long)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,byte)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,int)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,short)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,double)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,float)
The binary lessEqualsThan operator.
static boolean operator_lessEqualsThan(Double,Number)
The binary lessEqualsThan operator.
static boolean operator_lessThan(Double,long)
The binary lessThan operator.
static boolean operator_lessThan(Double,byte)
The binary lessThan operator.
static boolean operator_lessThan(Double,int)
The binary lessThan operator.
static boolean operator_lessThan(Double,short)
The binary lessThan operator.
static boolean operator_lessThan(Double,double)
The binary lessThan operator.
static boolean operator_lessThan(Double,float)
The binary lessThan operator.
static boolean operator_lessThan(Double,Number)
The binary lessThan operator.
static boolean operator_notEquals(Double,long)
The binary notEquals operator.
static boolean operator_notEquals(Double,byte)
The binary notEquals operator.
static boolean operator_notEquals(Double,int)
The binary notEquals operator.
static boolean operator_notEquals(Double,short)
The binary notEquals operator.
static boolean operator_notEquals(Double,double)
The binary notEquals operator.
static boolean operator_notEquals(Double,float)
The binary notEquals operator.
static boolean operator_notEquals(Double,Number)
The binary notEquals operator.
static int operator_spaceship(Double,byte)
The number comparison operator.
static int operator_spaceship(Double,short)
The number comparison operator.
static int operator_spaceship(Double,int)
The number comparison operator.
static int operator_spaceship(Double,long)
The number comparison operator.
static int operator_spaceship(Double,float)
The number comparison operator.
static int operator_spaceship(Double,double)
The number comparison operator.
static int operator_spaceship(Double,Byte)
The number comparison operator.
static int operator_spaceship(Double,Double)
The number comparison operator.
static int operator_spaceship(Double,Float)
The number comparison operator.
static int operator_spaceship(Double,Integer)
The number comparison operator.
static int operator_spaceship(Double,Long)
The number comparison operator.
static int operator_spaceship(Double,Number)
The number comparison operator.
static int operator_spaceship(Double,Short)
The number comparison operator.
static int operator_spaceship(Double,AtomicInteger)
The number comparison operator.
static int operator_spaceship(Double,AtomicLong)
The number comparison operator.
Action Details
operator_equals(Double,long)
def operator_equals(Double,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(Double,byte)
def operator_equals(Double,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(Double,int)
def operator_equals(Double,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(Double,short)
def operator_equals(Double,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(Double,double)
def operator_equals(Double,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(Double,float)
def operator_equals(Double,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(Double,Number)
def operator_equals(Double,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(Double,long)
def operator_greaterEqualsThan(Double,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(Double,byte)
def operator_greaterEqualsThan(Double,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(Double,int)
def operator_greaterEqualsThan(Double,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(Double,short)
def operator_greaterEqualsThan(Double,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(Double,double)
def operator_greaterEqualsThan(Double,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(Double,float)
def operator_greaterEqualsThan(Double,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(Double,Number)
def operator_greaterEqualsThan(Double,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(Double,long)
def operator_greaterThan(Double,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(Double,byte)
def operator_greaterThan(Double,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(Double,int)
def operator_greaterThan(Double,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(Double,short)
def operator_greaterThan(Double,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(Double,double)
def operator_greaterThan(Double,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(Double,float)
def operator_greaterThan(Double,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(Double,Number)
def operator_greaterThan(Double,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(Double,long)
def operator_lessEqualsThan(Double,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(Double,byte)
def operator_lessEqualsThan(Double,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(Double,int)
def operator_lessEqualsThan(Double,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(Double,short)
def operator_lessEqualsThan(Double,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(Double,double)
def operator_lessEqualsThan(Double,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(Double,float)
def operator_lessEqualsThan(Double,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(Double,Number)
def operator_lessEqualsThan(Double,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(Double,long)
def operator_lessThan(Double,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(Double,byte)
def operator_lessThan(Double,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(Double,int)
def operator_lessThan(Double,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(Double,short)
def operator_lessThan(Double,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(Double,double)
def operator_lessThan(Double,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(Double,float)
def operator_lessThan(Double,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(Double,Number)
def operator_lessThan(Double,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(Double,long)
def operator_notEquals(Double,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(Double,byte)
def operator_notEquals(Double,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(Double,int)
def operator_notEquals(Double,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(Double,short)
def operator_notEquals(Double,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(Double,double)
def operator_notEquals(Double,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(Double,float)
def operator_notEquals(Double,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(Double,Number)
def operator_notEquals(Double,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(Double,byte)
def operator_spaceship(Double,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(Double,short)
def operator_spaceship(Double,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(Double,int)
def operator_spaceship(Double,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(Double,long)
def operator_spaceship(Double,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(Double,float)
def operator_spaceship(Double,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(Double,double)
def operator_spaceship(Double,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(Double,Byte)
def operator_spaceship(Double,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(Double,Double)
def operator_spaceship(Double,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(Double,Float)
def operator_spaceship(Double,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(Double,Integer)
def operator_spaceship(Double,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(Double,Long)
def operator_spaceship(Double,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(Double,Number)
def operator_spaceship(Double,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(Double,Short)
def operator_spaceship(Double,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(Double,AtomicInteger)
def operator_spaceship(Double,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(Double,AtomicLong)
def operator_spaceship(Double,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 .