Simple Linked List Class

/*
 *  Title: class LinkedList
 *  Description: Simple Linked List class to demonstrate the basic principles
 *  of implementing a linked list. This should not be taken as a production
 *  quality class (see the text book instead).
 *  Copyright:   Copyright (c) 2002
 *  Company:     Dept. of Computer Science, University College London
 *  @author Graham Roberts
 *  @version 1.0 01-Mar-02
 */

public class LinkedList

Simple Linked Lists

This shows three programs.

    * A simple singly-linked list. This shows the basics.
    * A doubly-linked list. This is almost as simple as the singly-linked list, but makes some operations easier.
    * Use of the java.util.LinkedList class, which is easy to use because it hides the details.

Simple singly-linked list done "by hand"