Partager via


OptionalInt.Empty Method

Definition

Returns an empty OptionalInt instance.

[Android.Runtime.Register("empty", "()Ljava/util/OptionalInt;", "", ApiSince=24)]
public static Java.Util.OptionalInt? Empty ();
[<Android.Runtime.Register("empty", "()Ljava/util/OptionalInt;", "", ApiSince=24)>]
static member Empty : unit -> Java.Util.OptionalInt

Returns

an empty OptionalInt

Attributes

Remarks

Java documentation for java.util.OptionalInt.empty().

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