create an array list using the knowledge you have of how to build a doubly linked list(Array list is DDL based). Use provided files in addition to your files from previous work.

collegestudent97
ListTester2.txt

Testing add(element): The Alist:{} Item added: (Amy-1). The Alist:{(Amy-1)} Item added: (Bob-2). The Alist:{(Amy-1),(Bob-2)} Item added: (Cal-3). The Alist:{(Amy-1),(Bob-2),(Cal-3)} Item added: (Dot-4). The Alist:{(Amy-1),(Bob-2),(Cal-3),(Dot-4)} Testing add(index, element): Item inserted at index 2: (Eli-5). The Alist:{(Amy-1),(Bob-2),(Eli-5),(Cal-3),(Dot-4)} Item inserted at index 4: (Fay-6). The Alist:{(Amy-1),(Bob-2),(Eli-5),(Cal-3),(Fay-6),(Dot-4)} Testing get(index): There are 6 items in the list: Item(0): (Amy-1). Item(1): (Bob-2). Item(2): (Eli-5). Item(3): (Cal-3). Item(4): (Fay-6). Item(5): (Dot-4). Items added: Gil,Hop,Kim,Lee. The Alist:{(Amy-1),(Bob-2),(Eli-5),(Cal-3),(Fay-6),(Dot-4),(Gil-7),(Hop-8),(Kim-9),(Lee-10)} There are 10 items in the list, Testing set(index, element): Set Item(4) to (Gil-7).The Alist:{(Amy-1),(Bob-2),(Eli-5),(Cal-3),(Gil-7),(Dot-4),(Gil-7),(Hop-8),(Kim-9),(Lee-10)} Set Item(8) to (Hop-8).The Alist:{(Amy-1),(Bob-2),(Eli-5),(Cal-3),(Gil-7),(Dot-4),(Gil-7),(Hop-8),(Hop-8),(Lee-10)} Testing contains(element): The AList contains (Dot-4). The AList does not contain (Mak-11). Testing remove(index): Removed Item(3): (Cal-3). The Alist:{(Amy-1),(Bob-2),(Eli-5),(Gil-7),(Dot-4),(Gil-7),(Hop-8),(Hop-8),(Lee-10)} Removed Item(5): (Gil-7). The Alist:{(Amy-1),(Bob-2),(Eli-5),(Gil-7),(Dot-4),(Hop-8),(Hop-8),(Lee-10)} There are 8 items in the list. Testing remove(element): Removed item containing (Amy-1). The Alist:{(Bob-2),(Eli-5),(Gil-7),(Dot-4),(Hop-8),(Hop-8),(Lee-10)} Cannot remove (Mak-11). Not in AList. Testing indexOf(element): The first occurrence of (Gil-7) is at index: 2 The AList does not contain (Mak-11). Removed Item(0): (Bob-2) The Alist:{(Eli-5),(Gil-7),(Dot-4),(Hop-8),(Hop-8),(Lee-10)} Removed Item(0): (Eli-5) The Alist:{(Gil-7),(Dot-4),(Hop-8),(Hop-8),(Lee-10)} Removed Item(0): (Gil-7) The Alist:{(Dot-4),(Hop-8),(Hop-8),(Lee-10)} Removed Item(0): (Dot-4) The Alist:{(Hop-8),(Hop-8),(Lee-10)} Removed Item(0): (Hop-8) The Alist:{(Hop-8),(Lee-10)} Removed Item(0): (Hop-8) The Alist:{(Lee-10)} Removed Item(0): (Lee-10) The Alist:{} Is the list empty? true