ComparisonResulttoString
This method of the IntRanges Class converts comparison result flags to a string format.
Syntax
public static String ComparisonResulttoString(int cmp);
Return Values
Returns the result string as follows:
- "empty" (EMPTY)
- "equal" (EQUAL)
- "disjoint" (DISJOINT)
- "overlap" (OVERLAP)
- "inclusive subset" (SUBSET)
- "inclusive superset" (SUPERSET)
- "empty subset" (EMPTY_SUBSET)
- "empty superset" (EMPTY_SUPERSET)
- When an interger that is out of range is used, the return string is in the form (unknown xx), where xx is the integer it recieved.
Parameters
cmp |
A comparison result from the compare method. |
© 1999 Microsoft Corporation. All rights reserved. Terms of use.