Class RandomAcceptedStrings
Lets you retrieve random strings accepted by an Lucene.Net.Util.Automaton.
Once created, call GetRandomAcceptedString(Random) to get a new string (in UTF-32 codepoints).
Inheritance
System.Object
RandomAcceptedStrings
Namespace: Automaton
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class RandomAcceptedStrings : object
Constructors
| Improve this Doc View SourceRandomAcceptedStrings(Automaton)
Declaration
public RandomAcceptedStrings(Automaton a)
Parameters
Type | Name | Description |
---|---|---|
Automaton | a |
Methods
| Improve this Doc View SourceGetRandomAcceptedString(Random)
Declaration
public int[] GetRandomAcceptedString(Random r)
Parameters
Type | Name | Description |
---|---|---|
Random | r |
Returns
Type | Description |
---|---|
System.Int32[] |