Base interface for all linked list implementations. Provides the common structure and properties shared by both singly and doubly linked lists.
The type of nodes contained in the list.
Reference to the first node in the list. Set to null when the list is empty.
null
The current number of nodes in the list.
Reference to the last node in the list. Set to null when the list is empty.
Base interface for all linked list implementations. Provides the common structure and properties shared by both singly and doubly linked lists.