Class Match
The result of a pattern matching done by a
Inheritance
System.Object
Match
Implements
System.IEquatable<Match>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: MoreStructures.BurrowsWheelerTransform.Matching
Assembly: MoreStructures.dll
Syntax
public class Match : IEquatable<Match>
Constructors
| Improve this Doc View SourceMatch(Boolean, Int32, Int32, Int32)
The result of a pattern matching done by a
Declaration
public Match(bool Success, int MatchedChars, int StartIndex, int EndIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | Success | Whether the pattern matching was successful or not. |
System.Int32 | MatchedChars | The number of chars matched from the pattern. If |
System.Int32 | StartIndex | The 0-based index, in the Sorted Burrows-Wheeler Transform, of the first char matching. Negative if no matching has happened. |
System.Int32 | EndIndex | The 0-based index, in the Sorted Burrows-Wheeler Transform, of the last char matching. Negative if no matching has happened. |
Properties
| Improve this Doc View SourceEndIndex
Declaration
public int EndIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
MatchedChars
Declaration
public int MatchedChars { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
StartIndex
Declaration
public int StartIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Success
Declaration
public bool Success { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>