Partager via


Long.Min(Int64, Int64) Method

Definition

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

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

Parameters

a
Int64

the first operand

b
Int64

the second operand

Returns

the smaller of a and b

Attributes

Remarks

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