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
logo
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.
no blog for this page
IP:[65.110.21.43]
Your face IP:[23.22.204.36]
You are visitor number