Microsoft SDK for Java

UnsignedIntRanges Class Methods

The UnsignedIntRanges Class contains the following methods:

addRange adds a range of unsigned integers to the UnsignedIntRanges object.
addRanges adds a set of ranges to this set of ranges.
addSingleton adds a range of a single, unsigned integer to the UnsignedIntRanges object.
appendToStringBuffer appends a string representation of the unsigned integer ranges to a given string buffer.
contains searches from the beginning for a given number.
getRangeEnd retrieves the end of a range at a specified index.
getRangeStart retrieves the start of a range at a specified index.
indexOf searches from a starting index for a range pair containing a given a number.
intersect constructs a new IntRanges object with the set of integers that are common to both this object and another object.
removeRange removes a range of integers from the UnsignedIntRanges object.

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