Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class RandomAcceptedStrings

    Lets you retrieve random strings accepted by an Lucene.Net.Util.Automaton.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
    Lucene.Net.Util.Automaton.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 © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.