Data Structures in JAVA
HW 9
Start from the files for HW 7. Update the DoublyLinkedList to use generics.
Create a Driver class, Driver.java and using the generic DoublyLinkedList, create a variable called
doublyLinkedList_String to store data of type String.
Create a second variable called doublyLinkedList_Team using the same generic DoublyLinkedList, to
store data of type class Team.
Create a third variable called doublyLinkedList_Student and using the same generic DoublyLinkedList,
store data of type Student.
Create a fourth variable, called doublyLinkedList_BankAccount using the same generic
DoublyLinkedList, store data of type BankAccount.
For each of the variables above, add a few items to the front a few more items to the end of the list.
Print all the items in the list to the console output. Delete one or two items and print the list again.