Condividi tramite


Long.Reverse(Int64) Method

Definition

Returns the value obtained by reversing the order of the bits in the two's complement binary representation of the specified long value.

[Android.Runtime.Register("reverse", "(J)J", "")]
public static long Reverse (long i);
[<Android.Runtime.Register("reverse", "(J)J", "")>]
static member Reverse : int64 -> int64

Parameters

i
Int64

the value to be reversed

Returns

the value obtained by reversing order of the bits in the specified long value.

Attributes

Remarks

Java documentation for java.lang.Long.reverse(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.

Applies to