SE 2811, Hasker's Section, Exercise 4:
Reverse Engineering the Command Pattern

Review the code in myphonebook.zip and complete the sequence diagram in phonebook-exercise.qea by filling in the redo and removeEntry operations (where redo will re-add the phone entry and removeEntry will remove it with a new command). As shown in the existing diagram, capture these down to the level of calling Java library methods on classes like Stack and Map. Note that your sequences start with Handler method calls; you do not have to document the (Java Swing) GUI code that calls the Handler methods.

You can either submit a single sequence diagram covering both cases or two separate diagrams. Multiple diagrams would allow different team members to create different diagrams at the same time (in different .qea files). See these directions to make arrows that create new objects. The EA resources page has a number of useful tips.

Export your modified sequence diagram(s) as either PNGs or PDFs and submit that to Canvas. You do not have to include any other information, though it can be good to add the names of your group members to the diagram as a note. Make sure each diagram fits on a single page. You may need to move timelines and method calls closer together to make this work. Printing in landscape mode sometimes helps as well. Be sure the submissions are easy to read; if the details are fuzzy, it will be too hard to grade.