-
Notifications
You must be signed in to change notification settings - Fork 35
T_CodeJam_Strings_NaturalOrderStringComparer
Andrew Koryavchenko edited this page Jun 17, 2018
·
6 revisions
String comparisons using a "natural order" algorithm.
System.Object
CodeJam.Strings.NaturalOrderStringComparer
Namespace: CodeJam.Strings
Assembly: CodeJam (in CodeJam.dll) Version: 2.1.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. | |
Comparison | 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. | |
IgnoreCaseComparison | Gets a Comparison(T) delegate that performs a case-insensitive string comparison using a "natural order" algorithm. |