Mega Code Archive

 
Categories / Java Book / 003 Essential Classes
 

0188 Compare

int compareTo(BigInteger val) Compares this BigInteger with the specified BigInteger. boolean equals(Object x) Compares this BigInteger with the specified Object for equality. BigInteger max(BigInteger val) Returns the maximum of this BigInteger and val. BigInteger min(BigInteger val) Returns the minimum of this BigInteger and val.