Udostępnij za pośrednictwem


Long.Max(Int64, Int64) Method

Definition

Returns the greater of two long values as if by calling Math#max(long, long) Math.max.

[Android.Runtime.Register("max", "(JJ)J", "", ApiSince=24)]
public static long Max (long a, long b);
[<Android.Runtime.Register("max", "(JJ)J", "", ApiSince=24)>]
static member Max : int64 * int64 -> int64

Parameters

a
Int64

the first operand

b
Int64

the second operand

Returns

the greater of a and b

Attributes

Remarks

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

Applies to