/** * INTERNAL: Remove elements from this container starting with this index * * @param beginIndex int the point to start deleting values from the collection * @param container java.lang.Object * @return boolean indicating whether the container changed */ public void removeFromWithOrder(int beginIndex, Object container) { int size = sizeFor(container) - 1; try { for (; size >= beginIndex; --size) { ((IndirectList) container).removeElementAt(size); } } catch (ClassCastException ex1) { throw QueryException.cannotRemoveFromContainer(new Integer(size), container, this); } }