Overview | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT FRAMES  | NO FRAMES
A B C D E F G H I L M N O P R S T V Z

A

AbstractCompositeNumber() - Constructor for class nl.coffee.math.AbstractCompositeNumber
 
AbstractIntegerNumber() - Constructor for class nl.coffee.math.AbstractIntegerNumber
Constructs a new AbstractIntegerNumber.
AbstractRationalNumber() - Constructor for class nl.coffee.math.AbstractRationalNumber
Constructs a new AbstractRationalNumber.
AbstractRealNumber() - Constructor for class nl.coffee.math.AbstractRealNumber
Constructs a new AbstractRealNumber object.
A_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter a is null.
abs() - Method in class nl.coffee.math.AbstractRealNumber
 
abs() - Method in interface nl.coffee.math.RealNumber
Computes |this|.
AbstractCompositeNumber - class nl.coffee.math.AbstractCompositeNumber.
Abstract base class for CompositeNumber implementations.
AbstractIntegerNumber - class nl.coffee.math.AbstractIntegerNumber.
Abstract base class for IntegerNumber implementations.
AbstractRationalNumber - class nl.coffee.math.AbstractRationalNumber.
Abstract base class for RationalNumber implementations.
AbstractRealNumber - class nl.coffee.math.AbstractRealNumber.
Abstract base class for RealNumber implementations.
add(RationalNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
add(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
add(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
add(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
add(IntegerNumber) - Method in class nl.coffee.math.BasicIntegerNumber
 
add(RealNumber, RealNumber) - Method in class nl.coffee.math.DefaultNumberFactory
 
add(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes this+n, where n is an integer number.
add(IntegerNumber) - Method in class nl.coffee.math.LongIntegerNumber
 
add(RealNumber, RealNumber) - Static method in class nl.coffee.math.NumberCentral
Computes the sum of the arguments.
add(RealNumber, RealNumber) - Method in interface nl.coffee.math.NumberFactory
Computes the sum of the arguments.
add(RationalNumber) - Method in interface nl.coffee.math.RationalNumber
Computes this+n, where n is a rational number.
add(RealNumber) - Method in interface nl.coffee.math.RealNumber
Computes this+n, where n is a real number.

B

BasicIntegerNumber(BigInteger) - Constructor for class nl.coffee.math.BasicIntegerNumber
Constructs a BasicIntegerNumber from a BigInteger.
BasicRationalNumber(IntegerNumber, IntegerNumber) - Constructor for class nl.coffee.math.BasicRationalNumber
Constructs a new BasicRationalNumber from a numerator and a denominator.
B_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter b is null.
BasicIntegerNumber - class nl.coffee.math.BasicIntegerNumber.
Basic implementation of an integer number.
BasicRationalNumber - class nl.coffee.math.BasicRationalNumber.
Basic implementation of a rational number, i.e. a fraction.
bigInteger - Variable in class nl.coffee.math.BasicIntegerNumber
The BigInteger this IntegerNumber implementation is based on.
byteValue() - Method in class nl.coffee.math.AbstractRealNumber
 
byteValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as a byte.

C

CanNotCompareException(RealNumber, RealNumber) - Constructor for class nl.coffee.math.CanNotCompareException
Constructs a new CanNotCompareException for a failed comparison between the specified numbers.
CanNotCompareException - exception nl.coffee.math.CanNotCompareException.
Exception thrown to indicate a compare operation failed.
checkANotNull(Object) - Static method in class nl.coffee.math.ExceptionSupport
 
checkBNotNull(Object) - Static method in class nl.coffee.math.ExceptionSupport
 
checkDenominatorNotNull(IntegerNumber) - Static method in class nl.coffee.math.ExceptionSupport
 
checkDivideByZero(RealNumber) - Static method in class nl.coffee.math.ExceptionSupport
 
checkNNotNull(Object) - Static method in class nl.coffee.math.ExceptionSupport
 
checkNumeratorNotNull(IntegerNumber) - Static method in class nl.coffee.math.ExceptionSupport
 
checkOperandNotNull(RealNumber) - Static method in class nl.coffee.math.ExceptionSupport
 
checkSNotNull(Object) - Static method in class nl.coffee.math.ExceptionSupport
 
compareTo(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
compareTo(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
compareTo(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
compareTo(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
 
compareTo(RationalNumber) - Method in interface nl.coffee.math.RationalNumber
 
compareTo(RealNumber) - Method in interface nl.coffee.math.RealNumber
Returns -1, 0 or 1 as this number is less than, equal to, or greater than n, where n is a real number.
CompositeNumber - interface nl.coffee.math.CompositeNumber.
A composite real number.
createFraction(long, long) - Method in class nl.coffee.math.DefaultNumberFactory
 
createFraction(IntegerNumber, IntegerNumber) - Method in class nl.coffee.math.DefaultNumberFactory
 
createFraction(long, long) - Static method in class nl.coffee.math.NumberCentral
Returns a fraction with the given numerator and denominator, both being a long.
createFraction(IntegerNumber, IntegerNumber) - Static method in class nl.coffee.math.NumberCentral
Returns a fraction with the given numerator and denominator.
createFraction(long, long) - Method in interface nl.coffee.math.NumberFactory
Returns a fraction with the given numerator and denominator, both being a long.
createFraction(IntegerNumber, IntegerNumber) - Method in interface nl.coffee.math.NumberFactory
Returns a fraction with the given numerator and denominator.
createInstance(BigInteger) - Static method in class nl.coffee.math.BasicIntegerNumber
Returns an instance of a BasicIntegerNumber based on a java.math.
createInstance(IntegerNumber, IntegerNumber) - Static method in class nl.coffee.math.BasicRationalNumber
Returns an instance of a BasicRationalNumber with the given numerator and denominator.
createInstance(long) - Static method in class nl.coffee.math.LongIntegerNumber
Returns an instance of a LongIntegerNumber based on a long value.
createInstance(RealNumber, RealNumber) - Static method in class nl.coffee.math.Power
Returns a Power with the specified operands.
createInstance(RealNumber, RealNumber) - Static method in class nl.coffee.math.Product
Returns a Product with the specified operands.
createInstance(RealNumber, RealNumber) - Static method in class nl.coffee.math.Sum
Returns a Sum with the specified operands.
createInteger(byte[]) - Method in class nl.coffee.math.DefaultNumberFactory
 
createInteger(byte[]) - Static method in class nl.coffee.math.NumberCentral
Returns an integer number from a byte array in two's complement notation.
createInteger(byte[]) - Method in interface nl.coffee.math.NumberFactory
Returns an integer number from a byte array in two's complement notation.
createRandomInteger(int) - Method in class nl.coffee.math.DefaultNumberFactory
 
createRandomInteger(int) - Static method in class nl.coffee.math.NumberCentral
Returns an IntegerNumber with a random value.
createRandomInteger(int) - Method in interface nl.coffee.math.NumberFactory
Returns a pseudo-random IntegerNumber of at maximum maxBytes bytes.

D

DefaultNumberFactory() - Constructor for class nl.coffee.math.DefaultNumberFactory
Constructs a new DefaultNumberFactory.
dec() - Method in class nl.coffee.math.AbstractIntegerNumber
 
dec() - Method in interface nl.coffee.math.IntegerNumber
Computes this-1.
dec() - Method in class nl.coffee.math.LongIntegerNumber
 
DefaultNumberFactory - class nl.coffee.math.DefaultNumberFactory.
Default implementation of a NumberFactory.
DENOMINATOR_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter denominator is null.
denominator - Variable in class nl.coffee.math.BasicRationalNumber
The denominator of this fraction.
determineSign(RealNumber, RealNumber) - Static method in class nl.coffee.math.Power
Computes the sign of a power with the specified operands.
determineSign(RealNumber, RealNumber) - Static method in class nl.coffee.math.Product
Computes the sign of a product with the specified operands.
determineSign(RealNumber, RealNumber) - Static method in class nl.coffee.math.Sum
Computes the sign of a sum with the specified operands.
DIVIDE_BY_ZERO_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception thrown in case of a divide by zero.
divide(RationalNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
divide(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
divide(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
divide(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
divide(RationalNumber) - Method in interface nl.coffee.math.RationalNumber
Computes this/n, where n is a rational number.
divide(RealNumber) - Method in interface nl.coffee.math.RealNumber
Computes this/n, where n is a real number.
doubleValue() - Method in class nl.coffee.math.AbstractRationalNumber
 
doubleValue() - Method in class nl.coffee.math.AbstractRealNumber
 
doubleValue() - Method in class nl.coffee.math.BasicIntegerNumber
 
doubleValue() - Method in class nl.coffee.math.LongIntegerNumber
 
doubleValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as a double.

E

EIGHT - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number eight, 8.
elements - Variable in class nl.coffee.math.AbstractCompositeNumber
The elements of this operation.
equals(Object) - Method in class nl.coffee.math.AbstractRealNumber
 
ExceptionSupport - class nl.coffee.math.ExceptionSupport.
This class provides exception throwing support for classes in this package.

F

fac() - Method in class nl.coffee.math.AbstractIntegerNumber
 
fac() - Method in interface nl.coffee.math.IntegerNumber
Computes this!.
fitsByte() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsByte() - Method in interface nl.coffee.math.RealNumber
Determines if the truncated value of this number fits in a byte.
fitsDouble() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsDouble() - Method in interface nl.coffee.math.RealNumber
Determines if the rounded value of this number fits in a double.
fitsFloat() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsFloat() - Method in interface nl.coffee.math.RealNumber
Determines if the rounded value of this number fits in a float.
fitsInt() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsInt() - Method in interface nl.coffee.math.RealNumber
Determines if the truncated value of this number fits in an int.
fitsLong() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsLong() - Method in interface nl.coffee.math.RealNumber
Determines if the truncated value of this number fits in a long.
fitsShort() - Method in class nl.coffee.math.AbstractRealNumber
 
fitsShort() - Method in interface nl.coffee.math.RealNumber
Determines if the truncated value of this number fits in a short.
FIVE - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number five, 5.
floatValue() - Method in class nl.coffee.math.AbstractRealNumber
 
floatValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as a float.
FOUR - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number four, 4.

G

gcd(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
gcd(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes the greatest common divisor of this and n.
getBase() - Method in class nl.coffee.math.Power
Returns the base of this power.
getDefaultFactory() - Static method in class nl.coffee.math.NumberCentral
Retrieves the default NumberFactory.
getDenominator() - Method in class nl.coffee.math.AbstractIntegerNumber
Returns the denominator of this rational number.
getDenominator() - Method in class nl.coffee.math.BasicRationalNumber
 
getDenominator() - Method in interface nl.coffee.math.RationalNumber
Returns the denominator of this fraction.
getElement(int) - Method in class nl.coffee.math.AbstractCompositeNumber
 
getElement(int) - Method in interface nl.coffee.math.CompositeNumber
Returns the nth operand of this CompositeNumber.
getElementCount() - Method in class nl.coffee.math.AbstractCompositeNumber
 
getElementCount() - Method in interface nl.coffee.math.CompositeNumber
Counts the number of operands in this CompositeNumber.
getElements() - Method in class nl.coffee.math.AbstractCompositeNumber
 
getElements() - Method in interface nl.coffee.math.CompositeNumber
Returns the operands.
getExponent() - Method in class nl.coffee.math.Power
Returns the exponent of this power.
getNumerator() - Method in class nl.coffee.math.AbstractIntegerNumber
Returns the numerator of this rational number.
getNumerator() - Method in class nl.coffee.math.BasicRationalNumber
 
getNumerator() - Method in interface nl.coffee.math.RationalNumber
Returns the numerator of this fraction.
getSign() - Method in class nl.coffee.math.AbstractIntegerNumber
Determines the sign of this number.
getSign() - Method in class nl.coffee.math.AbstractRationalNumber
 
getSign() - Method in class nl.coffee.math.BasicIntegerNumber
 
getSign() - Method in class nl.coffee.math.LongIntegerNumber
 
getSign() - Method in class nl.coffee.math.Power
Determines the sign of this number.
getSign() - Method in class nl.coffee.math.Product
Determines the sign of this number.
getSign() - Method in interface nl.coffee.math.RealNumber
Determines the sign of this number.
getSign() - Method in class nl.coffee.math.Sum
Determines the sign of this number.

H

hashCode() - Method in class nl.coffee.math.AbstractIntegerNumber
 
hashCode() - Method in class nl.coffee.math.AbstractRealNumber
 
hashCode() - Method in class nl.coffee.math.BasicIntegerNumber
 

I

inc() - Method in class nl.coffee.math.AbstractIntegerNumber
 
inc() - Method in interface nl.coffee.math.IntegerNumber
Computes this+1.
inc() - Method in class nl.coffee.math.LongIntegerNumber
 
integerDivide(IntegerNumber) - Method in class nl.coffee.math.BasicIntegerNumber
 
integerDivide(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes the integer result of this/n, where n is an integer number.
integerDivide(IntegerNumber) - Method in class nl.coffee.math.LongIntegerNumber
 
IntegerNumber - interface nl.coffee.math.IntegerNumber.
An immutable integer number.
intValue() - Method in class nl.coffee.math.AbstractRealNumber
 
intValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as an int.
invert() - Method in class nl.coffee.math.AbstractIntegerNumber
 
invert() - Method in class nl.coffee.math.AbstractRationalNumber
 
invert() - Method in class nl.coffee.math.AbstractRealNumber
 
invert() - Method in interface nl.coffee.math.RealNumber
Computes 1/this.
isRelativePrime(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
isRelativePrime(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Determines if this and n are relative primes.

L

LongIntegerNumber(long) - Constructor for class nl.coffee.math.LongIntegerNumber
Constructs a LongIntegerNumber from a long.
LongIntegerNumber - class nl.coffee.math.LongIntegerNumber.
Implementation of an IntegerNumber based on a long value.
longValue() - Method in class nl.coffee.math.AbstractRealNumber
 
longValue() - Method in class nl.coffee.math.BasicIntegerNumber
 
longValue() - Method in class nl.coffee.math.LongIntegerNumber
 
longValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as a long.

M

MAXIMUM_VALUE - Static variable in class nl.coffee.math.LongIntegerNumber
The maximum IntegerNumber that can be represented by this class.
MINIMUM_VALUE - Static variable in class nl.coffee.math.LongIntegerNumber
The minimum IntegerNumber that can be represented by this class.
MINUS_ONE_HALF - Static variable in class nl.coffee.math.BasicRationalNumber
Cached instance that represents the number minus one half, -1/2.
MINUS_ONE - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number minus one, -1.
MINUS_TWO - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number minus two, -2.
multiply(RationalNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
multiply(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
multiply(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
multiply(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
multiply(IntegerNumber) - Method in class nl.coffee.math.BasicIntegerNumber
 
multiply(RealNumber, RealNumber) - Method in class nl.coffee.math.DefaultNumberFactory
 
multiply(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes this*n, where n is an integer number.
multiply(IntegerNumber) - Method in class nl.coffee.math.LongIntegerNumber
 
multiply(RealNumber, RealNumber) - Static method in class nl.coffee.math.NumberCentral
Computes the product of the arguments.
multiply(RealNumber, RealNumber) - Method in interface nl.coffee.math.NumberFactory
Computes the product of the arguments.
multiply(RationalNumber) - Method in interface nl.coffee.math.RationalNumber
Computes this*n, where n is a rational number.
multiply(RealNumber) - Method in interface nl.coffee.math.RealNumber
Computes this*n, where n is a real number.

N

N_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter n is null.
negate() - Method in class nl.coffee.math.AbstractIntegerNumber
Computes -this.
negate() - Method in class nl.coffee.math.AbstractRationalNumber
 
negate() - Method in class nl.coffee.math.AbstractRealNumber
 
negate() - Method in class nl.coffee.math.BasicIntegerNumber
 
negate() - Method in class nl.coffee.math.LongIntegerNumber
 
negate() - Method in interface nl.coffee.math.RealNumber
Computes -this.
NINE - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number nine, 9.
nl.coffee.math - package nl.coffee.math
 
NumberCentral - class nl.coffee.math.NumberCentral.
A static factory that produces RealNumber objects.
NumberFactory - interface nl.coffee.math.NumberFactory.
Interface for a factory that produces RealNumber objects.
NUMERATOR_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter numerator is null.
numerator - Variable in class nl.coffee.math.BasicRationalNumber
The numerator of this fraction.

O

ONE_HALF - Static variable in class nl.coffee.math.BasicRationalNumber
Cached instance that represents the number one half, 1/2.
ONE - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number one, 1.
OPERAND_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter operand is null.
OPERANDS_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter operands is null.

P

Power(RealNumber, RealNumber) - Constructor for class nl.coffee.math.Power
Constructs a Power with the specified base and exponent.
Product(RealNumber, RealNumber) - Constructor for class nl.coffee.math.Product
Constructs a Product based on the 2 specified operands.
pow(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
pow(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
pow(IntegerNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
pow(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
pow(RealNumber, RealNumber) - Method in class nl.coffee.math.DefaultNumberFactory
 
Power - class nl.coffee.math.Power.
A power, consisting of a base and an exponent.
pow(RealNumber, RealNumber) - Static method in class nl.coffee.math.NumberCentral
Computes the a power for the given base and exponent.
pow(RealNumber, RealNumber) - Method in interface nl.coffee.math.NumberFactory
Computes the power for the given base and exponent.
pow(IntegerNumber) - Method in interface nl.coffee.math.RationalNumber
Computes this**n, where n is an integer number.
pow(RealNumber) - Method in interface nl.coffee.math.RealNumber
Computes this**n, where n is a real number.
Product - class nl.coffee.math.Product.
A product of two real numbers.

R

randomGenerator - Variable in class nl.coffee.math.DefaultNumberFactory
The Random object used to obtain pseudo-random numbers.
RationalNumber - interface nl.coffee.math.RationalNumber.
An immutable rational number.
RealNumber - interface nl.coffee.math.RealNumber.
An immutable real number.
remainder(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
remainder(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes the remainder of this/n, where n is an integer number.
remainder(IntegerNumber) - Method in class nl.coffee.math.LongIntegerNumber
 
retryCompare(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
retryCompare(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
retryCompare(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
retryCompare(RealNumber) - Method in class nl.coffee.math.Power
 
retryCompare(RealNumber) - Method in class nl.coffee.math.Product
Returns -1, 0 or 1 as this number is less than, equal to, or greater than n, where n is a real number.
retryCompare(RealNumber) - Method in interface nl.coffee.math.RealNumber
Returns -1, 0 or 1 as this number is less than, equal to, or greater than n, where n is a real number.
retryCompare(RealNumber) - Method in class nl.coffee.math.Sum
Returns -1, 0 or 1 as this number is less than, equal to, or greater than n, where n is a real number.

S

Sum(RealNumber, RealNumber) - Constructor for class nl.coffee.math.Sum
Constructs a Sum based on the 2 specified operands.
S_IS_NULL_MESSAGE - Static variable in class nl.coffee.math.ExceptionSupport
The message for an exception when some parameter s is null.
setDefaultFactory(NumberFactory) - Static method in class nl.coffee.math.NumberCentral
Sets the default NumberFactory.
SEVEN - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number seven, 7.
SHARED_INSTANCE - Static variable in class nl.coffee.math.DefaultNumberFactory
The shared instance of this class.
shortValue() - Method in class nl.coffee.math.AbstractRealNumber
 
shortValue() - Method in interface nl.coffee.math.RealNumber
Returns the value of this number as a short.
sign - Variable in class nl.coffee.math.Power
The sign of this power.
sign - Variable in class nl.coffee.math.Product
The sign of this product.
sign - Variable in class nl.coffee.math.Sum
The sign of this sum.
SIX - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number six, 6.
subtract(RationalNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
subtract(IntegerNumber) - Method in class nl.coffee.math.AbstractIntegerNumber
 
subtract(RealNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
subtract(RationalNumber) - Method in class nl.coffee.math.AbstractRationalNumber
 
subtract(RealNumber) - Method in class nl.coffee.math.AbstractRealNumber
 
subtract(IntegerNumber) - Method in interface nl.coffee.math.IntegerNumber
Computes this-n, where n is an integer number.
subtract(RationalNumber) - Method in interface nl.coffee.math.RationalNumber
Computes this-n, where n is a rational number.
subtract(RealNumber) - Method in interface nl.coffee.math.RealNumber
Computes this-n, where n is a real number.
Sum - class nl.coffee.math.Sum.
A sum of two real numbers.

T

TEN - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number ten, 10.
THREE - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number three, 3.
toBigDecimal() - Method in class nl.coffee.math.AbstractIntegerNumber
Converts the value of this number to a BigDecimal.
toBigDecimal(int) - Method in class nl.coffee.math.AbstractIntegerNumber
Converts the value of this number to a BigDecimal with the specified precision.
toBigDecimal(int, int) - Method in class nl.coffee.math.AbstractIntegerNumber
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int) - Method in class nl.coffee.math.AbstractRationalNumber
 
toBigDecimal(int, int) - Method in class nl.coffee.math.AbstractRationalNumber
 
toBigDecimal(int) - Method in class nl.coffee.math.AbstractRealNumber
 
toBigDecimal() - Method in interface nl.coffee.math.IntegerNumber
Converts the value of this number to a BigDecimal.
toBigDecimal(int, int) - Method in class nl.coffee.math.Power
 
toBigDecimal(int, int) - Method in class nl.coffee.math.Product
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int) - Method in interface nl.coffee.math.RealNumber
Converts the value of this number to a BigDecimal with the specified precision.
toBigDecimal(int, int) - Method in interface nl.coffee.math.RealNumber
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigDecimal(int, int) - Method in class nl.coffee.math.Sum
Converts the value of this number to a BigDecimal with the specified precision and rounding mode.
toBigInteger() - Method in class nl.coffee.math.AbstractIntegerNumber
Converts the value of this number to a BigInteger.
toBigInteger() - Method in class nl.coffee.math.AbstractRealNumber
 
toBigInteger() - Method in class nl.coffee.math.BasicIntegerNumber
 
toBigInteger() - Method in interface nl.coffee.math.IntegerNumber
Converts the value of this number to a BigInteger.
toBigInteger() - Method in class nl.coffee.math.LongIntegerNumber
 
toBigInteger() - Method in interface nl.coffee.math.RealNumber
Converts the value of this number to a BigInteger.
toByteArray() - Method in class nl.coffee.math.BasicIntegerNumber
 
toByteArray() - Method in interface nl.coffee.math.IntegerNumber
Returns the two's-complement representation of this integer number.
toByteArray() - Method in class nl.coffee.math.LongIntegerNumber
 
toString() - Method in class nl.coffee.math.AbstractIntegerNumber
Returns a textual representation of this object.
toString() - Method in class nl.coffee.math.AbstractRationalNumber
 
toString() - Method in class nl.coffee.math.LongIntegerNumber
 
toString() - Method in class nl.coffee.math.Power
 
toString() - Method in class nl.coffee.math.Product
Returns a textual representation of this object.
toString() - Method in class nl.coffee.math.Sum
Returns a textual representation of this object.
trunc() - Method in class nl.coffee.math.AbstractIntegerNumber
Rounds to an integer number towards 0.

The implementation of this method in AbstractIntegerNumber returns this.

trunc() - Method in class nl.coffee.math.AbstractRationalNumber
 
trunc() - Method in class nl.coffee.math.Power
 
trunc() - Method in class nl.coffee.math.Product
Rounds to an integer number towards 0.
trunc() - Method in interface nl.coffee.math.RealNumber
Rounds to an integer number towards 0.
trunc() - Method in class nl.coffee.math.Sum
Rounds to an integer number towards 0.
TWO - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number two, 2.

V

value - Variable in class nl.coffee.math.LongIntegerNumber
The long this IntegerNumber implementation is based on.
valueOf(double) - Method in class nl.coffee.math.DefaultNumberFactory
 
valueOf(long) - Method in class nl.coffee.math.DefaultNumberFactory
 
valueOf(BigInteger) - Method in class nl.coffee.math.DefaultNumberFactory
 
valueOf(BigDecimal) - Method in class nl.coffee.math.DefaultNumberFactory
 
valueOf(String) - Method in class nl.coffee.math.DefaultNumberFactory
 
valueOf(double) - Static method in class nl.coffee.math.NumberCentral
Returns a rational number from the given double.
valueOf(long) - Static method in class nl.coffee.math.NumberCentral
Returns a rational number from the given long.
valueOf(BigInteger) - Static method in class nl.coffee.math.NumberCentral
Converts a java.math.
valueOf(BigDecimal) - Static method in class nl.coffee.math.NumberCentral
Converts a java.math.
valueOf(double) - Method in interface nl.coffee.math.NumberFactory
Returns a rational number from the given double.
valueOf(long) - Method in interface nl.coffee.math.NumberFactory
Returns a rational number from the given long.
valueOf(BigInteger) - Method in interface nl.coffee.math.NumberFactory
Converts a java.math.
valueOf(BigDecimal) - Method in interface nl.coffee.math.NumberFactory
Converts a java.math.
valueOf(String) - Method in interface nl.coffee.math.NumberFactory
Converts a String to a RealNumber.

Z

ZERO - Static variable in class nl.coffee.math.LongIntegerNumber
Cached instance that represents the number zero, 0.

A B C D E F G H I L M N O P R S T V Z
Overview | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT FRAMES  | NO FRAMES