public void clear() {ArrayList <HSSFShape> copy = new ArrayList<>(shapes);for (HSSFShape shape: copy){removeShape(shape);}}
public void Clear(){List<HSSFShape> copy = new List<HSSFShape>(shapes);foreach (HSSFShape shape in copy){RemoveShape(shape);}}