// SquareList.java // Name: // Login: // Lab section time: import java.util.*; public class SquareList { public static boolean DEBUGGING = false; // Store an unordered list of Squares. /** * EFFECTS: Initialize an empty list of squares. */ public SquareList ( ) { // *** you fill this in } /** * MODIFIES: this. * EFFECTS: Add a square to the list. */ public void add (Square sq) { // *** you fill this in } /** * MODIFIES: this. * EFFECTS: Delete all squares from the list that contain the * position (x,y). Return true if any squares get deleted and * return false otherwise. */ public boolean handleClick (int x, int y) { // *** you fill this in } /** * EFFECTS: Return an iterator of the squares in the list. */ public Iterator elements ( ) { // *** you fill this in } LinkedList mySquares; }