Show / Hide Table of Contents

    Class RandomAcceptedStrings

    Lets you retrieve random strings accepted by an Automaton.

    Once created, call GetRandomAcceptedString(Random) to get a new string (in UTF-32 codepoints).

    Inheritance
    System.Object
    RandomAcceptedStrings
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Util.Automaton
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class RandomAcceptedStrings

    Constructors

    | Improve this Doc View Source

    RandomAcceptedStrings(Automaton)

    Declaration
    public RandomAcceptedStrings(Automaton a)
    Parameters
    Type Name Description
    Automaton a

    Methods

    | Improve this Doc View Source

    GetRandomAcceptedString(Random)

    Declaration
    public int[] GetRandomAcceptedString(Random r)
    Parameters
    Type Name Description
    System.Random r
    Returns
    Type Description
    System.Int32[]
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)