Question: this is the class where the methods will go. complete these methods from the class interface. We are using a double linked list. public class

this is the class where the methods will go. complete these methodsthis is the class where the methods will go.

from the class interface. We are using a double linked list. publicclass DoubleLinkedList implements DoubleLinkedListADT I //Double linked st node class public classcomplete these methods from the class interface. We are using a double linked list.

public class DoubleLinkedList implements DoubleLinkedListADT I //Double linked st node class public class DoubleLinkedListNode T info; DoubleLinkedListNode next, DoubleLinkedListNode back; public DoubleLinkedListNode ) info-null; next nu 11; backnull; public String toString) return info.toString (); protected int count; /umber of nodes protected DoubleLinkedListNode last //reference to last node 10. toString (direct and reverse order, 2 versions for each, one using recursion) 11. compare 2 lists for equality (equals) 12. Make a copy of the list 13. Make a copy of the list in reverse order public String toString (); public String recursiveToString ) public String backwardsString (); public String recursiveBackwardsString ); public boolean equals (Object o); public void copy (DoubleLinkedList otherList) public void reversedCopy(DoubleLinkedListT> otherList); public class DoubleLinkedList implements DoubleLinkedListADT I //Double linked st node class public class DoubleLinkedListNode T info; DoubleLinkedListNode next, DoubleLinkedListNode back; public DoubleLinkedListNode ) info-null; next nu 11; backnull; public String toString) return info.toString (); protected int count; /umber of nodes protected DoubleLinkedListNode last //reference to last node 10. toString (direct and reverse order, 2 versions for each, one using recursion) 11. compare 2 lists for equality (equals) 12. Make a copy of the list 13. Make a copy of the list in reverse order public String toString (); public String recursiveToString ) public String backwardsString (); public String recursiveBackwardsString ); public boolean equals (Object o); public void copy (DoubleLinkedList otherList) public void reversedCopy(DoubleLinkedListT> otherList)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!