A C D E F G I M T

A

add(Fraction) - Method in class Fraction
Adds fraction r to this fraction and simplifies result.

C

clone() - Method in class Fraction
clones this fraction by implementing Cloneable

D

doubleValue() - Method in class Fraction
Returns the double value of this fraction.

E

equals(Fraction) - Method in class Fraction
Checks equality with other fraction r.

F

Fraction - Class in <Unnamed>
The Fraction class implements fractions.
Fraction() - Constructor for class Fraction
Default constructor, constructs 0 as fraction 0/1
Fraction(long) - Constructor for class Fraction
Constructs Fraction object from a long
Fraction(long, long) - Constructor for class Fraction
Constructor with two long argument num and denom, constructs the fraction num/denom and simplifies it.
FractionTest - Class in <Unnamed>
 
FractionTest() - Constructor for class FractionTest
 

G

getDenominator() - Method in class Fraction
Get the denominator of this fraction
getNumerator() - Method in class Fraction
Get the nominator of this fraction

I

init() - Method in class FractionTest
 

M

multiply(Fraction) - Method in class Fraction
Multiplies this fraction with other fraction r and simplifies the result.

T

testFractionClass() - Method in class FractionTest
 
toString() - Method in class Fraction
Returns a string representation of this fraction.

A C D E F G I M T