The removeSingleton method of the IntRanges Class contains the following signatures:
removeSingleton(int n)
removeSingleton(int n, IIntRangeComparator hook)
Removes a single integer from the IntRange object.
public boolean removeSingleton(int n);
Returns true if the integer was removed returns false if the integer was not found in the set.
n | The integer to remove. |
Removes a single integer from the IntRange object.
public boolean removeSingleton(int n, IIntRangeComparator hook);
Returns true if the integer was removed. This method returns false if the integer was not found in the set.
n | The integer to remove. |
hook | The interface to notify through IIntRangeComparator.shiftRanges that ranges were deleted or IIntRangeComparator.splitRange that a range was split. |