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
    object
    RandomAcceptedStrings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Util.Automaton
    Assembly: Lucene.Net.TestFramework.dll
    Syntax
    public class RandomAcceptedStrings

    Constructors

    RandomAcceptedStrings(Automaton)

    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).
    Declaration
    public RandomAcceptedStrings(Automaton a)
    Parameters
    Type Name Description
    Automaton a

    Methods

    GetRandomAcceptedString(Random)

    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).
    Declaration
    public int[] GetRandomAcceptedString(Random r)
    Parameters
    Type Name Description
    Random r
    Returns
    Type Description
    int[]
    Back to top Copyright © 2024 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.