package linkedlist; // This class implements a doubly-linked list public class DoublyLinkedList { private class Entry // inner class - holds the elements contained in the linked list. { } // end of nested Entry class /** * Constructor. Initializes this DoublyLinkedList object to be empty. */ public DoublyLinkedList() { } // constructor } // class DoublyLinkedList