<BUG>public void setAll(E value){</BUG><CONTEXT>return x >= 0 && x < xSize && y >= 0 && y < ySize;}public boolean isInBounds(Point2D p){return isInBounds((int)p.x, (int)p.y);}<extra_id_0>values.clear();for (int i = 0; i < xSize*ySize; i++)values.add(value);</CONTEXT>
private void setAllAs(E value){