Class RandomInts
Utility class for random integer and integer sequences.
Inheritance
System.Object
RandomInts
Namespace: Lucene.Net.Randomized.Generators
Assembly: Lucene.Net.TestFramework.dll
Syntax
public static class RandomInts : object
Methods
| Improve this Doc View SourceRandomInt32Between(Random, Int32, Int32)
A random integer from min to max (inclusive).
Declaration
public static int RandomInt32Between(Random random, int min, int max)
Parameters
| Type | Name | Description |
|---|---|---|
| Random | random | |
| System.Int32 | min | |
| System.Int32 | max |
Returns
| Type | Description |
|---|---|
| System.Int32 |