Show / Hide Table of Contents

    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 Source

    RandomInt32Between(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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)