code: @SuppressWarnings("unchecked")
  	@Override
  	public void clear(T from, T to) {
  		ExtendedIterator<T> itr = iterator();
  		itr.skipAllBefore(from);
  		while (itr.hasNext()) {
  			if (((Comparable) itr.next()).compareTo(to) < 0)
  				itr.remove();
  		}
  	}
docs: {@inheritDoc}