Note 2 describes the adapter pattern. You will use this pattern to adapt a program to use a different type of queue. Feel free to consult with other students on this exercise.
SimpleQueue
to work as before. That is, you
are rewriting the application to introduce (throughout the application) a
simple queue interface. You will remove SimpleQueue in the next
step, but this step makes sure your interface is correct. Taking small
steps like this saves time debugging!
Testing adding, removing todo items. Testing adding, removing many todo items. Testing empty todo list. All tests passed.
SimpleLinkedList.java
to your adapter, talk to your
instructor! Your adapter should be using delegation to get the work done.
QueueApplication.java
as
the Main. Then click on Add file twice to add your
interface class and your adapter class. Do not
submit SimpleLinkedList.java
- that code is already provided
for you and you cannot make changes to it. Then click the submit
button and confirm there are no differences in the output.
Once you have submitted your solution to esubmit (and there are no differences), you are done with the exercise. There is nothing to submit to Canvas.