Microsoft SDK for Java

swapRanges

This method of the IIntRangeComparator Interface swaps ranges. This method is called by IntRanges.sort.

Syntax

void swapRanges(IntRanges ranges, int i1, int i2);

Parameters

ranges The IntRanges object in which to swap.
i1 The index of the first range to swap.
i2 The index of the second range to swap.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.