java.util.LinkedList

java.util.LinkedList is a class that represents non-synchronized arrays that can be resized. It implements the List interface from the Java Collection Framework. Use this class for quickly inserting and removing objects.

Hints

Use java.util.LinkedList objects in applications that add and remove a large number of objects. For applications that require frequent iterations through a list of objects, a LinkedList object might not be the best choice. Either a java.util.ArrayList or java.util.Vector object would be a better choice for iterating through objects.

Also, a LinkedList object is not suitable for accessing objects randomly, especially in a large array of objects. Either a java.util.ArrayList or a java.util.Vector object would be a better choice, because they remove objects from an array using a pre-determined index.

Related Topics:

java.util.ArrayList

java.util.Vector

java.util.TreeSet

java.util.HashSet