OptionalInt.Of(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns an OptionalInt
describing the given value.
[Android.Runtime.Register("of", "(I)Ljava/util/OptionalInt;", "", ApiSince=24)]
public static Java.Util.OptionalInt? Of (int value);
[<Android.Runtime.Register("of", "(I)Ljava/util/OptionalInt;", "", ApiSince=24)>]
static member Of : int -> Java.Util.OptionalInt
Parameters
- value
- Int32
the value to describe
Returns
an OptionalInt
with the value present
- Attributes
Remarks
Java documentation for java.util.OptionalInt.of(int)
.
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.