Package com.globalmentor.math
Class Fraction<N extends Number,D extends Number>
java.lang.Object
com.globalmentor.math.Fraction<N,D>
- Type Parameters:
N
- The numerator type of the fraction.D
- The denominator type of the fraction.
Represents a numerator and a denominator.
- Author:
- Garret Wilson
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Fraction
Constructor- Parameters:
numerator
- The numerator of the fraction.denominator
- The denominator of the fraction.
-
-
Method Details