Class CharacterRunAutomaton
Automaton representation for matching char[].
Inheritance
System.Object
CharacterRunAutomaton
Assembly: Lucene.Net.dll
Syntax
public class CharacterRunAutomaton : RunAutomaton
Constructors
|
Improve this Doc
View Source
CharacterRunAutomaton(Automaton)
Declaration
public CharacterRunAutomaton(Automaton a)
Parameters
Methods
|
Improve this Doc
View Source
Run(Char[], Int32, Int32)
Returns true
if the given string is accepted by this automaton.
Declaration
public virtual bool Run(char[] s, int offset, int length)
Parameters
Type |
Name |
Description |
System.Char[] |
s |
|
System.Int32 |
offset |
|
System.Int32 |
length |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Run(String)
Returns true
if the given string is accepted by this automaton.
Declaration
public virtual bool Run(string s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.Boolean |
|