BigInteger.IComparable.CompareTo(Object) Method

Definition

Compares this value with the specified object.

int IComparable.CompareTo(Java.Lang.Object o);
abstract member Java.Lang.IComparable.CompareTo : Java.Lang.Object -> int
override this.Java.Lang.IComparable.CompareTo : Java.Lang.Object -> int

Parameters

o
Object

The BigInteger object to compare with this value.

Returns

A negative integer, zero, or a positive integer as this BigInteger is numerically less than, equal to, or greater than o.

Implements

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to