LinkedList : Java Glossary

*0-9ABCDEFGHIJKLMNOPQRSTUVWXYZ (all)

LinkedList
LinkedList is Canadian Mind Products’ replacement for Java Vector class. It is implemented as a classical doubly linked list. It is faster than Vector for insert/delete, but slower for indexed access. The interface is modeled on java.util.Vector, so you can try it both ways and pick which is faster for your needs. Heavily commented Java source is included. Download. Beware  java.awt.Listawt.List, java.util. List and java.util.LinkedList are not the same animal.

You can use LinkedList to create a LIFO (Last In First Out) stack — use only addFirst, removeFirst or a FIFO (First In First Out) queue — use only addFirst, removeLast.

Learning More

Oracle’s Javadoc on linkedList class : available:

This page is posted
on the web at:

http://mindprod.com/jgloss/linkedlist.html

Optional Replicator mirror
of mindprod.com
on local hard disk J:

J:\mindprod\jgloss\linkedlist.html
Canadian Mind Products
Please the feedback from other visitors, or your own feedback about the site.
Contact Roedy. Please feel free to link to this page without explicit permission.

IP:[65.110.21.43]
Your face IP:[3.144.46.90]
You are visitor number