public class ListManager { private int index = 0; // used by setIndex, hasMore, and getNextRect private int count=0; // number of items currently in the list private Rect [] windows = new Rect[100]; //list of reference to // Rect objects public ListManager() {} /* Create a new Rect (rectangle) and add it to the end of the list * All rectangles will be 130 pixels wide and * 80 pixels high * @param int x coordinate of upperleft corner of the rectangle * int y coordinate of upperleft corner of the rectangle */ void add (int x, int y){ } /* Move the most-recently created rectangle containing (x,y) * to the end ofthe list * @param int x coordinate of upperleft corner of desired Rect * int y coordinate of upperleft corner of desired Rect */ void moveToRear(int x, int y) { } /** * Set index to first item in the list * index is used to iterate through the list when redrawing * the list of Rect object **/ void setIndex() { } /* Answers true if there is another item in the list * false otherwise */ boolean hasMore() { return false; } /* * Answers the 'next' Rect on the list * next is found by using the index variable * @return Rect the next Rect on the list stored in the windows * array **/ Rect getNextRect() { return windows[0]; //dummy statement to illustrate what is expected } }