OptionalLong.OrElseThrow(ISupplier) OptionalLong.OrElseThrow(ISupplier) Method

Definition

[Android.Runtime.Register("orElseThrow", "(Ljava/util/function/Supplier;)J", "")]
[Java.Interop.JavaTypeParameters(new System.String[] { "X extends java.lang.Throwable" })]
public long OrElseThrow (Java.Util.Functions.ISupplier exceptionSupplier);
member this.OrElseThrow : Java.Util.Functions.ISupplier -> int64

Parameters

exceptionSupplier
ISupplier ISupplier

Returns

Remarks

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