docs: public void setSize(int newSize) {
  	if (newSize<0) throw new IndexOutOfBoundsException("newSize:"+newSize);
  
  	int currentSize = size();
  	if (newSize!=currentSize) {
  		if (newSize>currentSize) beforeInsertDummies(currentSize,newSize-currentSize);
  		else if (newSize<currentSize) removeFromTo(newSize, currentSize-1);
  	}
  }