![]() |
0.10.8-alpha
|
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 () | |
A container object for functions applying to numbers.
Definition at line 32 of file Numbers.java.
|
protected |
Definition at line 34 of file Numbers.java.
|
static |
Computes the absolute value of its argument.
Definition at line 42 of file Numbers.java.
Adds two numbers.
Definition at line 47 of file Numbers.java.
Rounds a number up to the nearest integer.
Definition at line 52 of file Numbers.java.
Computes the quotient of two numbers.
Definition at line 57 of file Numbers.java.
Rounds a number down to the nearest integer.
Definition at line 62 of file Numbers.java.
Definition at line 64 of file Numbers.java.
|
static |
Definition at line 66 of file Numbers.java.
|
static |
Definition at line 68 of file Numbers.java.
|
static |
Definition at line 70 of file Numbers.java.
|
static |
Definition at line 72 of file Numbers.java.
Definition at line 74 of file Numbers.java.
Definition at line 76 of file Numbers.java.
|
static |
Definition at line 78 of file Numbers.java.
|
static |
Definition at line 80 of file Numbers.java.
Definition at line 82 of file Numbers.java.
Definition at line 84 of file Numbers.java.
|
static |
Definition at line 86 of file Numbers.java.
|
static |
Definition at line 88 of file Numbers.java.