A B C D E F G H I L M N O P R S T Z 
All Classes All Packages

A

abs() - Method in class fr.spacefox.jrational.Rational
Return the absolute value of the current rational.
add(Rational) - Method in class fr.spacefox.jrational.Rational
Returns a Rational whose value is (this + val)
addAll(Rational...) - Method in class fr.spacefox.jrational.Rational
Adds all the rationals in the collection to the current one.
addAll(Collection<Rational>) - Method in class fr.spacefox.jrational.Rational
Adds all the rationals in the collection to the current one.
APPROX_ONE - Static variable in class fr.spacefox.jrational.Rational
 
APPROX_ZERO - Static variable in class fr.spacefox.jrational.Rational
 
approximate() - Method in class fr.spacefox.jrational.Rational
Returns an approximation of this Rational with the denominator is <= 2^128.
approximate(long) - Method in class fr.spacefox.jrational.Rational
Returns an approximation of this Rational with the denominator is <= denominatorMax.
approximate(BigInteger) - Method in class fr.spacefox.jrational.Rational
Returns an approximation of this Rational with the denominator is <= denominatorMax.
average(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
Computes the average value of the Rational’s Collection provided.

B

bigDecimalValue() - Method in class fr.spacefox.jrational.Rational
Returns the value of the specified number as a BigDecimal.
bigIntegerValue() - Method in class fr.spacefox.jrational.Rational
Returns the value of the specified number as a BigInteger.

C

canonicalForm() - Method in class fr.spacefox.jrational.Rational
Returns the canonical form of this Rational.
compareTo(Rational) - Method in class fr.spacefox.jrational.Rational
Compares this Rational with the specified Rational.

D

divide(Rational) - Method in class fr.spacefox.jrational.Rational
 
doubleValue() - Method in class fr.spacefox.jrational.Rational
 

E

E - Static variable in class fr.spacefox.jrational.RationalConstants
The Rational value that is closer than any other to e, the base of the natural logarithms, with enough precision to not be modified by approximate() method, canonical form.
equals(Object) - Method in class fr.spacefox.jrational.Rational
Compares this Rational with the specified Object for equality.

F

floatValue() - Method in class fr.spacefox.jrational.Rational
 
fr.spacefox.jrational - module fr.spacefox.jrational
 
fr.spacefox.jrational - package fr.spacefox.jrational
Immutable rational numbers.

G

ge(Rational) - Method in class fr.spacefox.jrational.Rational
Shortcut for compareTo(val) >= 0.
gt(Rational) - Method in class fr.spacefox.jrational.Rational
Shortcut for compareTo(val) > 0.

H

hashCode() - Method in class fr.spacefox.jrational.Rational
 

I

intValue() - Method in class fr.spacefox.jrational.Rational
 
inverse() - Method in class fr.spacefox.jrational.Rational
Inverts the current rational.
isApproximate() - Method in class fr.spacefox.jrational.Rational
 
isInteger() - Method in class fr.spacefox.jrational.Rational
 

L

le(Rational) - Method in class fr.spacefox.jrational.Rational
Shortcut for compareTo(val) <= 0.
longValue() - Method in class fr.spacefox.jrational.Rational
 
lt(Rational) - Method in class fr.spacefox.jrational.Rational
Shortcut for compareTo(val) < 0.

M

magnitude() - Method in class fr.spacefox.jrational.Rational
Returns the number of bits in the minimal representation of this Rational, excluding a sign bit.
max(Rational) - Method in class fr.spacefox.jrational.Rational
Select the largest Rational between this Rational and the specified Rational.
max(Rational...) - Static method in class fr.spacefox.jrational.Rational
The largest Rational in the array provided.
max(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
The largest Rational in the Collection provided.
median(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
Compute the median value of the Rational’s Collection provided.
min(Rational) - Method in class fr.spacefox.jrational.Rational
Select the smallest Rational between this Rational and the specified Rational.
min(Rational...) - Static method in class fr.spacefox.jrational.Rational
The smallest Rational in the array provided.
min(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
The smallest Rational in the Collection provided.
multiply(Rational) - Method in class fr.spacefox.jrational.Rational
Returns a rational whose value is this * val
multiplyAll(Rational...) - Method in class fr.spacefox.jrational.Rational
 
multiplyAll(Collection<Rational>) - Method in class fr.spacefox.jrational.Rational
 

N

negate() - Method in class fr.spacefox.jrational.Rational
Negates the current rational.

O

of(double) - Static method in class fr.spacefox.jrational.Rational
This builder is provided to simplify some kind of interfaces and should not be used only unless you know exactly what you are doing!
of(long) - Static method in class fr.spacefox.jrational.Rational
Builds an integer "rational" number from a long value.
of(long, long) - Static method in class fr.spacefox.jrational.Rational
Builds a rational number from two long values.
of(String) - Static method in class fr.spacefox.jrational.Rational
Shortcut for of(new BigDecimal(s))
of(String, String) - Static method in class fr.spacefox.jrational.Rational
Shortcut for of(new BigInteger(numerator), new BigInteger(denominator))
of(BigDecimal) - Static method in class fr.spacefox.jrational.Rational
Builds a rational number from a BigDecimal value.
of(BigInteger) - Static method in class fr.spacefox.jrational.Rational
Builds an integer "rational" number from a non-null BigInteger value.
of(BigInteger, BigInteger) - Static method in class fr.spacefox.jrational.Rational
Builds a rational number from two non-null BigInteger values.
ONE - Static variable in class fr.spacefox.jrational.Rational
 

P

PI - Static variable in class fr.spacefox.jrational.RationalConstants
The Rational value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter, with enough precision to not be modified by approximate() method, canonical form.
pow(int) - Method in class fr.spacefox.jrational.Rational
 
product(Rational...) - Static method in class fr.spacefox.jrational.Rational
 
product(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
 

R

Rational - Class in fr.spacefox.jrational
Immutable rational numbers.
RationalConstants - Class in fr.spacefox.jrational
Some constants expressed as a Rational with enough precision to not be modified by approximate().

S

signum() - Method in class fr.spacefox.jrational.Rational
 
subtract(Rational) - Method in class fr.spacefox.jrational.Rational
 
sum(Rational...) - Static method in class fr.spacefox.jrational.Rational
Returns the sum of all Rational in the array.
sum(Collection<Rational>) - Static method in class fr.spacefox.jrational.Rational
Returns the sum of all Rational in the collection.

T

toString() - Method in class fr.spacefox.jrational.Rational
 

Z

ZERO - Static variable in class fr.spacefox.jrational.Rational
 
A B C D E F G H I L M N O P R S T Z 
All Classes All Packages