CSI2110 ­ Lab 1 solved

$35.00 $21.00



5/5 - (1 vote)

0) Test your IDE (optional)
In case you are uncertain if your prefered Java development environment works as expected, the archive contains for testing.
1) Singly Linked List
Download the archive and extract the singly linked list implementation contained in the
following files
Compile and run and study its behaviour.
2) Doubly Linked Lists
Change the singly­linked­list to a doubly­linked­list by changing to
Change the LinkList class to work with DNode, in particular, adapt the implementation of the void
LinkList.deleteLast() method.
3) Using Generics
The archive also contains the file which implements a node for a singlylinked­list as before but instead of storing a reference to an Object, it uses a generic element.
Adapt the original LinkList class to use the generic Gnode class.