Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e8bbec0
commit 68b5408
Showing
3 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Nito.Comparers.Internals | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
public interface IStringSplitter | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
/// <param name="source"></param> | ||
/// <param name="offset"></param> | ||
/// <param name="length"></param> | ||
/// <param name="isNumeric"></param> | ||
/// <returns></returns> | ||
void MoveNext(string source, ref int offset, out int length, out bool isNumeric); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
|
||
namespace Nito.Comparers.Internals | ||
{ | ||
public interface ISubstringComparer | ||
{ | ||
int GetHashCode(string source, int offset, int length); | ||
int Compare(string stringA, int offsetA, int lengthA, string stringB, int offsetB, int lengthB); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters