SUGGESTED FIX
src/share/classes/java/math>sccs sccsdiff -r1.60 -r1.61 BigInteger.java
------- BigInteger.java -------
80c80
< public class BigInteger extends Number implements Comparable {
---
> public class BigInteger extends Number implements Comparable<BigInteger> {
2502,2520d2501
< /**
< * Compares this BigInteger with the specified Object. If the Object is a
< * BigInteger, this method behaves like <tt>compareTo(BigInteger)</tt>.
< * Otherwise, it throws a <tt>ClassCastException</tt> (as BigIntegers are
< * comparable only to other BigIntegers).
< *
< * @param o Object to which this BigInteger is to be compared.
< * @return a negative number, zero, or a positive number as this
< * BigInteger is numerically less than, equal to, or greater
< * than <tt>o</tt>, which must be a BigInteger.
< * @throws ClassCastException <tt>o</tt> is not a BigInteger.
< * @see #compareTo(java.math.BigInteger)
< * @see Comparable
< * @since 1.2
< */
< public int compareTo(Object o) {
< return compareTo((BigInteger)o);
< }
<
###@###.### 2003-08-15
|