C# Class Lucene.Net.Util.Automaton.AutomatonTestUtil.RandomAcceptedStrings

Lets you retrieve random strings accepted by an Automaton.

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

显示文件 Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
GetRandomAcceptedString ( Random r ) : int[]
RandomAcceptedStrings ( Automaton a ) : Lucene.Net.Support

Method Details

GetRandomAcceptedString() public method

public GetRandomAcceptedString ( Random r ) : int[]
r System.Random
return int[]

RandomAcceptedStrings() public method

public RandomAcceptedStrings ( Automaton a ) : Lucene.Net.Support
a Automaton
return Lucene.Net.Support