Share via


OptionalDouble.Of(Double) Method

Definition

Returns an OptionalDouble describing the given value.

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

Parameters

value
Double

the value to describe

Returns

an OptionalDouble with the value present

Attributes

Remarks

Java documentation for java.util.OptionalDouble.of(double).

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