4-Linked Lists/07. Linked List Problems_/JavaLinkedListDataStructures/JavaLinkedListDataStructures/LinkedList.java
public void appendList(LinkedList<T> ll) {
        if (ll.head == null) {
            return;
        } else {
            Node<T> curr = ll.head;
            while (curr != null) {
                addNode((T) curr.getData());
                curr = curr.getNext();
            }
        }
    }
/**
     * Append the nodes of the other list to the end of the curren list.
     */
Append the nodes of the other list to the end of the curren list.
Append the nodes of the other list to the end of the curren list .
public void appendList(LinkedList<T> ll) {
        if (ll.head == null) {
            return;
        } else {
            Node<T> curr = ll.head;
            while (curr != null) {
                addNode((T) curr.getData());
                curr = curr.getNext();
            }
        }
    }
public void appendList ( LinkedList < T > ll ) { if ( ll . head == null ) { return ; } else { Node < T > curr = ll . head ; while ( curr != null ) { addNode ( ( T ) curr . getData ( ) ) ; curr = curr . getNext ( ) ; } } }
Append the nodes of the other list to the end of the curren list.
Append the nodes of the other list to the end of the curren list .