Freigeben über


OptionalLong.Of(Int64) Method

Definition

Returns an OptionalLong describing the given value.

[Android.Runtime.Register("of", "(J)Ljava/util/OptionalLong;", "", ApiSince=24)]
public static Java.Util.OptionalLong? Of (long value);
[<Android.Runtime.Register("of", "(J)Ljava/util/OptionalLong;", "", ApiSince=24)>]
static member Of : int64 -> Java.Util.OptionalLong

Parameters

value
Int64

the value to describe

Returns

an OptionalLong with the value present

Attributes

Remarks

Java documentation for java.util.OptionalLong.of(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