Microsoft SDK for Java

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:

  1. "empty" (EMPTY)

  2. "equal" (EQUAL)

  3. "disjoint" (DISJOINT)

  4. "overlap" (OVERLAP)

  5. "inclusive subset" (SUBSET)

  6. "inclusive superset" (SUPERSET)

  7. "empty subset" (EMPTY_SUBSET)

  8. "empty superset" (EMPTY_SUPERSET)

  9. 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.