예제 #1
0
 /** *************************************************************************** */
 public Fraction(long num, long denom) // constructor
       /** *************************************************************************** */
     {
   set(num, denom);
 }
예제 #2
0
 /** *************************************************************************** */
 public Fraction(BigInteger num, BigInteger denom) // constructor
       /** *************************************************************************** */
     {
   set(num, denom);
 }
예제 #3
0
 public void set(long num, long denom) {
   set(BigInteger.valueOf(num), BigInteger.valueOf(denom));
 }