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).Inherited Members
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[] |