The intersect method of the UnsignedIntRanges Class contains the following signatures:
intersect(IntRanges other, IIntRangeComparator judge)
intersect(UnsignedIntRanges other, IIntRangeComparator judge)
intersect(UnsignedIntRanges other)
Constructs a new UnsignedIntRanges object with the set of unsigned integers that are common to both this object and another object.
public UnsignedIntRanges intersect(UnsignedIntRanges other, IIntRangeComparator judge);
Returns an UnsignedIntRanges object for the intersection of this object and other.
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. |
Constructs a new IntRanges object with the set of integers that are common to both this object and another object.
public IntRanges intersect(IntRanges other, IIntRangeComparator judge);
Returns an IntRanges object for the intersection of this object and the IntRanges object contained in the other parameter.
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. |
Retrieves the intersection of this set of unsigned integer ranges with another.
public UnsignedIntRanges intersect(UnsignedIntRanges other);
Returns the intersection as a set of unsigned integer ranges.
other | The set of unsigned integer ranges to compare. |