Class CharacterRunAutomaton
Automaton representation for matching char[].
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Util.Automaton
Assembly: Lucene.Net.dll
Syntax
public class CharacterRunAutomaton : RunAutomaton
Constructors
| Improve this Doc View SourceCharacterRunAutomaton(Automaton)
Declaration
public CharacterRunAutomaton(Automaton a)
Parameters
| Type | Name | Description |
|---|---|---|
| Automaton | a |
Methods
| Improve this Doc View SourceRun(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 |
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 |