/*
The printList method will print all elements of the list to the screen; one element per line. That is, for each element of the list it should call the toString method of the element, and then append a newline character to the result, and print the result to the screen. As an example, a list of two Integers 3 and 4 should be printed to the screen as follows:
3
4
*/

public void printList();

How do i make this method iterate through and print? do i need to use a StringBuffer and append a newline character after each iteration through? Then do getValue and pass that value to toString of Person?

sorry about all the questions, just helps a lot.

Also, there is a remove method that takes in an Object o, so a node, and how do i compare this to the data?

lets say i made,

Node<E> cursor = head;

then did cursor.equals(o), would that accurately compare the nodes? and then if match, i could just re-route the setPrev and setNext?