The removeRange of the IntRanges Class contains the following signatures:
removeRange(int re, int re)
removeRange(int i, IIntRangeComparator hook)
removeRange(int i)
removeRange(int s, int e, IIntRangeComparator hook)
Removes a range of integers from the IntRange object.
public boolean removeRange(int rs, int re);
Returns true if any integers in the range were removed; returns false if the set contains no integers in the range.
rs | The lower limit of the range. |
re | The upper limit of the range. |
Removes a single range specified by index from the IntRange object.
public void removeRange(int i, IIntRangeComparator hook);
i | The index of the range to remove. |
hook | The interface to notify through IIntRangeComparator.shiftRanges that the ranges were deleted. |
Removes a single range specified by index from the IntRange object.
public void removeRange(int i);
i | The index of the range to remove. |
Removes a range of integers from the IntRange object.
public synchronized boolean removeRange(int s, int e, IIntRangeComparator hook);
Returns true if any integers in the range were removed; returns false if the set contains no integers in the range.
rs | The lower limit of the range. |
re | The upper limit of the range. |
hook | The interface to notify through IIntRangeComparator.shiftRanges that the ranges were deleted or IIntRangeComparator.splitRange that a range was split. |