-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Strings_NaturalOrderStringComparer
andrewvk edited this page Apr 20, 2016
·
6 revisions
[This is preliminary documentation and is subject to change.]
String comparisons using a "natural order" algorithm.
System.Object
CodeJam.Strings.NaturalOrderStringComparer
Namespace: CodeJam.Strings
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public class NaturalOrderStringComparer : IComparer<string>
VB
Public Class NaturalOrderStringComparer
Implements IComparer(Of String)
F#
type NaturalOrderStringComparer =
class
interface IComparer<string>
end
The NaturalOrderStringComparer type exposes the following members.
Name | Description | |
---|---|---|
Compare(String, String) | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. | |
Compare(String, String, Boolean) | Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Comparer | Gets a NaturalOrderStringComparer object that performs a string comparison using a "natural order" algorithm. | |
Comparision | Gets a Comparison(T) delegate that performs a string comparison using a "natural order" algorithm. | |
IgnoreCaseComparer | Gets a NaturalOrderStringComparer object that performs a case-insensitive string comparison using a "natural order" algorithm. | |
IgnoreCaseComparision | Gets a Comparison(T) delegate that performs a case-insensitive string comparison using a "natural order" algorithm. |