Sdílet prostřednictvím


SplittableRandom.NextBoolean Method

Definition

Returns a pseudorandom boolean value.

[Android.Runtime.Register("nextBoolean", "()Z", "", ApiSince=24)]
public bool NextBoolean ();
[<Android.Runtime.Register("nextBoolean", "()Z", "", ApiSince=24)>]
member this.NextBoolean : unit -> bool

Returns

a pseudorandom boolean value

Attributes

Remarks

Returns a pseudorandom boolean value.

Java documentation for java.util.SplittableRandom.nextBoolean().

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