ThreadLocalRandom.NextInt(Int32, 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.
To be added
[Android.Runtime.Register("nextInt", "(II)I", "GetNextInt_IIHandler")]
public virtual int NextInt (int origin, int bound);
[<Android.Runtime.Register("nextInt", "(II)I", "GetNextInt_IIHandler")>]
override this.NextInt : int * int -> int
Parameters
- origin
- Int32
the least value returned
- bound
- Int32
the upper bound (exclusive)
Returns
a pseudorandom int
value between the origin
(inclusive) and the bound (exclusive)
- Attributes
Exceptions
if least greater than or equal to bound
Remarks
To be added
Java documentation for java.util.concurrent.ThreadLocalRandom.nextInt(int, 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.