Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
F
H
I
L
M
N
S
T
A
add(Fraction)
- Method in class foundations.
Fraction
Return the sum of this object and the parameter.
C
compareTo(Object)
- Method in class foundations.
Fraction
Returns -1, 0 or 1 as this number is less than, equal to, or greater than the
Fraction
parameter.
D
denominator()
- Method in class foundations.
Fraction
Return the denominator
divide(Fraction)
- Method in class foundations.
Fraction
return the quotient of this object and the parameter.
doubleValue()
- Method in class foundations.
Fraction
Return a representation of this fraction as type
double
.
E
equals(Object)
- Method in class foundations.
Fraction
Returns true iff the parameter is a
Fraction
and is equal to this object.
F
floatValue()
- Method in class foundations.
Fraction
Return a representation of this fraction as type
float
.
Fraction
- class foundations.
Fraction
.
Fraction()
- Constructor for class foundations.
Fraction
Fraction(long)
- Constructor for class foundations.
Fraction
Create an instance of Fraction with specified numerator.
Fraction(long, long)
- Constructor for class foundations.
Fraction
Create an instance of Fraction with specified numerator and denominator.
Fraction(String)
- Constructor for class foundations.
Fraction
Create an instance of Fraction by parsing a
String
.
H
hashCode()
- Method in class foundations.
Fraction
Compute a unique hash code for this fraction.
I
intValue()
- Method in class foundations.
Fraction
Return a representation of this fraction as type
int
.
L
longValue()
- Method in class foundations.
Fraction
Return a representation of this fraction as type
long
.
M
main(String[])
- Static method in class foundations.
Fraction
Short main function to test elements of
Fraction
.
multiply(Fraction)
- Method in class foundations.
Fraction
Return the product of this object and the parameter.
N
numerator()
- Method in class foundations.
Fraction
Return the numerator.
S
setDenominator(long)
- Method in class foundations.
Fraction
Set the denominator
setNumerator(long)
- Method in class foundations.
Fraction
Set the numerator.
subtract(Fraction)
- Method in class foundations.
Fraction
Return this object minus the parameter.
T
toString()
- Method in class foundations.
Fraction
Return a String representation for this fraction.
A
C
D
E
F
H
I
L
M
N
S
T
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES