Microsoft SDK for Java

condense

The condense method of the IntRanges Class contains the following signatures:

condense(IIntRangeComparator judge)
condense()

condense(IIntRangeComparator judge)

Merges overlapping ranges. This method assumes the ranges have already been sorted.

Syntax

public synchronized void condense(IIntRangeComparator judge);

Exceptions

Throws SecurityException if there is an immutable key.

Parameters

judge The interface to help compare equal integer ranges while sorting. This parameter value can be null.

condense()

Merges overlapping ranges. This method assumes the ranges have already been sorted.

Syntax

public void condense();

Exceptions

Throws SecurityException if there is an immutable key.

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