Method CheckRandomData
CheckRandomData(Random, Analyzer, Int32)
utility method for blasting tokenstreams with data to make sure they don't do anything crazy
LUCENENET specific Non-static to reduce the inter-class dependencies due to use of static variables
Declaration
public void CheckRandomData(Random random, Analyzer a, int iterations)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
Analyzer | a | |
System.Int32 | iterations |
CheckRandomData(Random, Analyzer, Int32, Int32)
utility method for blasting tokenstreams with data to make sure they don't do anything crazy
LUCENENET specific Non-static to reduce the inter-class dependencies due to use of static variables
Declaration
public void CheckRandomData(Random random, Analyzer a, int iterations, int maxWordLength)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
Analyzer | a | |
System.Int32 | iterations | |
System.Int32 | maxWordLength |
CheckRandomData(Random, Analyzer, Int32, Boolean)
utility method for blasting tokenstreams with data to make sure they don't do anything crazy
LUCENENET specific Non-static to reduce the inter-class dependencies due to use of static variables
Declaration
public void CheckRandomData(Random random, Analyzer a, int iterations, bool simple)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
Analyzer | a | |
System.Int32 | iterations | |
System.Boolean | simple | true if only ascii strings will be used (try to avoid) |
CheckRandomData(Random, Analyzer, Int32, Int32, Boolean)
Declaration
public void CheckRandomData(Random random, Analyzer a, int iterations, int maxWordLength, bool simple)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
Analyzer | a | |
System.Int32 | iterations | |
System.Int32 | maxWordLength | |
System.Boolean | simple |
CheckRandomData(Random, Analyzer, Int32, Int32, Boolean, Boolean)
Declaration
public void CheckRandomData(Random random, Analyzer a, int iterations, int maxWordLength, bool simple, bool offsetsAreCorrect)
Parameters
Type | Name | Description |
---|---|---|
Random | random | |
Analyzer | a | |
System.Int32 | iterations | |
System.Int32 | maxWordLength | |
System.Boolean | simple | |
System.Boolean | offsetsAreCorrect |