Linked Lists SLLists provide pseudo-generic singly linked lists. DLLists provide doubly linked lists. They behave similarly to the slist and similar classes described by Stroustrup. All list nodes are created dynamically.
Assignment is performed via copying.
Class DLList supports all SLList operations, plus additional operations described below. For purposes of illustration, assume the specification of class intSLList . In addition to the operations listed here, SLLists support traversal via Pixes. If i is null, insertion is at the front. If i is 0, the first item is deleted.