|
Enhanced C#
Language of your choice: library documentation
|
Represents a range of single characters (e.g. 'A'..'Z'). More...
Represents a range of single characters (e.g. 'A'..'Z').
Public fields | |
| int | Lo |
| int | Hi |
Public static fields | |
|
static readonly Comparison < IntRange > | CompareLo = (a, b) => a.Lo.CompareTo(b.Lo) |
Properties | |
| bool | CanPrintAsCharRange [get] |
Public Member Functions | |
| IntRange (int c) | |
| IntRange (int lo, int hi) | |
| override bool | Equals (object obj) |
| bool | Equals (IntRange other) |
| override int | GetHashCode () |
| bool | Contains (int ch) |
| bool | Overlaps (IntRange r) |
| bool | CanMerge (IntRange r) |
| IntRange | Merged (IntRange r) |
| int | CompareTo (IntRange other) |
| Compares only the Lo values of two ranges. More... | |
| override string | ToString () |
| void | AppendTo (StringBuilder sb, bool asCharRange) |
Static Public Member Functions | |
| static bool | operator> (IntRange a, IntRange b) |
| static bool | operator< (IntRange a, IntRange b) |
| static bool | operator== (IntRange a, IntRange b) |
| static bool | operator!= (IntRange a, IntRange b) |
|
inline |
Compares only the Lo values of two ranges.
1.8.7