0.10.8-alpha
ca.uqac.lif.cep.util.Numbers Class Reference

A container object for functions applying to numbers. More...

Classes

class  AbsoluteValue
 Computes the absolute value of its argument. More...
 
class  Addition
 Computes the sum of its arguments. More...
 
class  Ceiling
 Rounds a number up to the nearest integer. More...
 
class  Division
 Computes the quotient of its arguments. More...
 
class  Floor
 Rounds a number down to the nearest integer. More...
 
class  IsEven
 Computes if a number is even. More...
 
class  IsGreaterOrEqual
 Checks if a number is greater than or equal to an other number. More...
 
class  IsGreaterThan
 Checks if a number is greater than other number. More...
 
class  IsLessOrEqual
 Checks if a number is less than or equal to an other number. More...
 
class  IsLessThan
 Checks if a number is less than an other number. More...
 
class  Maximum
 Returns the maximum of two numbers. More...
 
class  Minimum
 Returns the minimum of two numbers. More...
 
class  Multiplication
 Computes the product of its arguments. More...
 
class  NumberCast
 Converts an object into a number. More...
 
class  Power
 Computes the power of its arguments. More...
 
class  Signum
 Computes the signum of its argument. More...
 
class  SquareRoot
 Computes the square root of its argument. More...
 
class  Subtraction
 Computes the difference of its arguments. More...
 

Static Public Attributes

static final AbsoluteValue absoluteValue = new AbsoluteValue()
 Computes the absolute value of its argument. More...
 
static final Addition addition = new Addition()
 Adds two numbers. More...
 
static final Ceiling ceiling = new Ceiling()
 Rounds a number up to the nearest integer. More...
 
static final Division division = new Division()
 Computes the quotient of two numbers. More...
 
static final Floor floor = new Floor()
 Rounds a number down to the nearest integer. More...
 
static final IsEven isEven = new IsEven()
 
static final IsGreaterOrEqual isGreaterOrEqual = new IsGreaterOrEqual()
 
static final IsGreaterThan isGreaterThan = new IsGreaterThan()
 
static final IsLessOrEqual isLessOrEqual = new IsLessOrEqual()
 
static final IsLessThan isLessThan = new IsLessThan()
 
static final Maximum maximum = new Maximum()
 
static final Minimum minimum = new Minimum()
 
static final Multiplication multiplication = new Multiplication()
 
static final NumberCast numberCast = new NumberCast()
 
static final Power power = new Power()
 
static final Signum signum = new Signum()
 
static final SquareRoot squareRoot = new SquareRoot()
 
static final Subtraction subtraction = new Subtraction()
 

Protected Member Functions

 Numbers ()
 

Detailed Description

A container object for functions applying to numbers.

Author
Sylvain Hallé
Since
0.7

Definition at line 32 of file Numbers.java.

Constructor & Destructor Documentation

◆ Numbers()

ca.uqac.lif.cep.util.Numbers.Numbers ( )
protected

Definition at line 34 of file Numbers.java.

Member Data Documentation

◆ absoluteValue

final AbsoluteValue ca.uqac.lif.cep.util.Numbers.absoluteValue = new AbsoluteValue()
static

Computes the absolute value of its argument.

Definition at line 42 of file Numbers.java.

◆ addition

final Addition ca.uqac.lif.cep.util.Numbers.addition = new Addition()
static

Adds two numbers.

Definition at line 47 of file Numbers.java.

◆ ceiling

final Ceiling ca.uqac.lif.cep.util.Numbers.ceiling = new Ceiling()
static

Rounds a number up to the nearest integer.

Definition at line 52 of file Numbers.java.

◆ division

final Division ca.uqac.lif.cep.util.Numbers.division = new Division()
static

Computes the quotient of two numbers.

Definition at line 57 of file Numbers.java.

◆ floor

final Floor ca.uqac.lif.cep.util.Numbers.floor = new Floor()
static

Rounds a number down to the nearest integer.

Definition at line 62 of file Numbers.java.

◆ isEven

final IsEven ca.uqac.lif.cep.util.Numbers.isEven = new IsEven()
static

Definition at line 64 of file Numbers.java.

◆ isGreaterOrEqual

final IsGreaterOrEqual ca.uqac.lif.cep.util.Numbers.isGreaterOrEqual = new IsGreaterOrEqual()
static

Definition at line 66 of file Numbers.java.

◆ isGreaterThan

final IsGreaterThan ca.uqac.lif.cep.util.Numbers.isGreaterThan = new IsGreaterThan()
static

Definition at line 68 of file Numbers.java.

◆ isLessOrEqual

final IsLessOrEqual ca.uqac.lif.cep.util.Numbers.isLessOrEqual = new IsLessOrEqual()
static

Definition at line 70 of file Numbers.java.

◆ isLessThan

final IsLessThan ca.uqac.lif.cep.util.Numbers.isLessThan = new IsLessThan()
static

Definition at line 72 of file Numbers.java.

◆ maximum

final Maximum ca.uqac.lif.cep.util.Numbers.maximum = new Maximum()
static

Definition at line 74 of file Numbers.java.

◆ minimum

final Minimum ca.uqac.lif.cep.util.Numbers.minimum = new Minimum()
static

Definition at line 76 of file Numbers.java.

◆ multiplication

final Multiplication ca.uqac.lif.cep.util.Numbers.multiplication = new Multiplication()
static

Definition at line 78 of file Numbers.java.

◆ numberCast

final NumberCast ca.uqac.lif.cep.util.Numbers.numberCast = new NumberCast()
static

Definition at line 80 of file Numbers.java.

◆ power

final Power ca.uqac.lif.cep.util.Numbers.power = new Power()
static

Definition at line 82 of file Numbers.java.

◆ signum

final Signum ca.uqac.lif.cep.util.Numbers.signum = new Signum()
static

Definition at line 84 of file Numbers.java.

◆ squareRoot

final SquareRoot ca.uqac.lif.cep.util.Numbers.squareRoot = new SquareRoot()
static

Definition at line 86 of file Numbers.java.

◆ subtraction

final Subtraction ca.uqac.lif.cep.util.Numbers.subtraction = new Subtraction()
static

Definition at line 88 of file Numbers.java.


The documentation for this class was generated from the following file: