/** * Removes the EXACT range defined by (low,high). If no range is defined on exactly those * coordinates, no elements are removed */ public Object remove(int low, int high) { RangeHolder holder = new RangeHolder(low, high); int pos = VectorUtil.binarySearch(ranges, holder, rangeComparator, false); Range found = (Range) ranges.elementAt(pos); if (found.equals(holder)) return data.remove(holder); else return null; }