Microsoft SDK for Java

addRange

This method of the IntRanges Class adds a range to the IntRange object.

Syntax

public synchronized void addRange(int s, int e);

Exceptions

Throws SecurityException if there is an immutable key.

Throws IllegalArgumentException if the lower limit of the range is greater than the upper limit of the range.

Parameters

s The lower limit of the range.
e The upper limit of the range.

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