Long.CompareUnsigned(Int64, Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares two long
values numerically treating the values
as unsigned.
[Android.Runtime.Register("compareUnsigned", "(JJ)I", "", ApiSince=26)]
public static int CompareUnsigned (long x, long y);
[<Android.Runtime.Register("compareUnsigned", "(JJ)I", "", ApiSince=26)>]
static member CompareUnsigned : int64 * int64 -> int
Parameters
- x
- Int64
the first long
to compare
- y
- Int64
the second long
to compare
Returns
the value 0
if x == y
; a value less
than 0
if x < y
as unsigned values; and
a value greater than 0
if x > y
as
unsigned values
- Attributes
Remarks
Java documentation for java.lang.Long.compareUnsigned(long, long)
.
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.