Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
D
E
F
G
M
N
S
T
A
add(Fraction)
- Method in class myutil.
Fraction
Returns the sum of this Fraction and the parameter frac.
add(int)
- Method in class myutil.
Fraction
Returns the sum of this Fraction and the int parameter number.
D
decimal()
- Method in class myutil.
Fraction
Returns the decimal equivalent of this fraction
denominator
- Variable in class myutil.
Fraction
the denominator of this fraction
divide(Fraction)
- Method in class myutil.
Fraction
Returns the quotient of this Fraction divided by the parameter frac.
divide(int)
- Method in class myutil.
Fraction
Returns the quotient of this Fraction divided by the int parameter number.
E
equals(Fraction)
- Method in class myutil.
Fraction
Compares this fraction and the parameter frac for equality.
F
Fraction
- Class in
myutil
An instance of this class represents a fraction.
Fraction()
- Constructor for class myutil.
Fraction
Creates a fraction 0/1
Fraction(int)
- Constructor for class myutil.
Fraction
Creates a fraction number/1
Fraction(Fraction)
- Constructor for class myutil.
Fraction
Creates a copy of frac
Fraction(int, int)
- Constructor for class myutil.
Fraction
Creates a fraction num/denom.
G
gcd(int, int)
- Static method in class myutil.
Fraction
Returns the greatest common divisor of the parameters m and n
getDenominator()
- Method in class myutil.
Fraction
Returns the denominator of this fraction
getNumerator()
- Method in class myutil.
Fraction
Returns the numerator of this fraction
M
min(Fraction, Fraction)
- Static method in class myutil.
Fraction
Returns the smaller of the two parameters f1 and f2
multiply(Fraction)
- Method in class myutil.
Fraction
Returns the product of this Fraction and the parameter frac.
multiply(int)
- Method in class myutil.
Fraction
Returns the product of this Fraction and the int parameter number.
myutil
- package myutil
N
numerator
- Variable in class myutil.
Fraction
the numerator of this fraction
S
setDenominator(int)
- Method in class myutil.
Fraction
Sets the denominator of this fraction
setNumerator(int)
- Method in class myutil.
Fraction
Sets the numerator of this fraction
simplify()
- Method in class myutil.
Fraction
Returns a new Fraction object that is in the simplest form of this Fraction object.
subtract(Fraction)
- Method in class myutil.
Fraction
Returns the difference of this Fraction and the parameter frac.
subtract(int)
- Method in class myutil.
Fraction
Returns the difference of this Fraction and the int parameter number.
T
toString()
- Method in class myutil.
Fraction
Returns the String representation of this Fraction
A
D
E
F
G
M
N
S
T
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes