Microsoft SDK for Java

intersect

The intersect method of the UnsignedIntRanges Class contains the following signatures:

intersect(IntRanges other, IIntRangeComparator judge)
intersect(UnsignedIntRanges other, IIntRangeComparator judge)
intersect(UnsignedIntRanges other)

intersect(UnsignedIntRanges other, IIntRangeComparator judge)

Constructs a new UnsignedIntRanges object with the set of unsigned integers that are common to both this object and another object.

Syntax

public UnsignedIntRanges intersect(UnsignedIntRanges other, IIntRangeComparator judge);

Return Value

Returns an UnsignedIntRanges object for the intersection of this object and other.

Parameters

other The other UnsignedIntRanges object to find intersection with.
judge The hook interface to notify through IIntRangeComparator.intersectRanges of intersecting ranges that will be added to the new UnsignedIntRanges object.

intersect(IntRanges other, IIntRangeComparator judge)

Constructs a new IntRanges object with the set of integers that are common to both this object and another object.

Syntax

public IntRanges intersect(IntRanges other, IIntRangeComparator judge);

Return Value

Returns an IntRanges object for the intersection of this object and the IntRanges object contained in the other parameter.

Parameters

other The other IntRanges object to find an intersection with.
judge The hook interface to notify through IIntRangeComparator.intersectRanges of intersecting ranges that will be added to the new IntRanges object.

intersect(UnsignedIntRanges other)

Retrieves the intersection of this set of unsigned integer ranges with another.

Syntax

public UnsignedIntRanges intersect(UnsignedIntRanges other);

Return Value

Returns the intersection as a set of unsigned integer ranges.

Parameters

other The set of unsigned integer ranges to compare.

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