Make public methods final in DoublyLinkedList