Code example for BigInteger

Methods: hashCode

0
	       && ((Ratio) arg0).numerator.equals(numerator)
	       && ((Ratio) arg0).denominator.equals(denominator);
} 
 
public int hashCode(){ 
	return numerator.hashCode() ^ denominator.hashCode();
} 
 
public String toString(){
	return numerator.toString() + "/" + denominator.toString();
} 
 
public int intValue(){ 
	return (int) doubleValue(); 
} 
 
public long longValue(){ 
	return bigIntegerValue().longValue();
} 
 
public float floatValue(){