@Override
	protected void doRemoveAll(int index, int len) {
		if (len == size()) {
			doModify();
			doClear();
		} else {
			for (int i=0; i<len; i++) {
				doRemove(index);
			}
		}
	}
Deserialize a GapList object.

@param ois  input stream for serialization
@throws 	   IOException if serialization fails
@throws 	   ClassNotFoundException if serialization fails
jphp-runtime/src/php/runtime/memory/support/GapList.java