List : Java Glossary


The word list in Java is only slightly less vague than the word thing. It has many meanings:
  1. The traditional computer science meaning is a group of objects linked together in a chain by references.
  2. The angle a boat tilts in the water.
  3. A prioritised todo list.
  4. java.awt.List, a scrolling list of choices from which you can select one. Like a Choice displayed already opened up. Further, it allows multiple selections if you use setMultipleMode( true ).
  5. java.util.List is an interface implemented by LinkedList, ArrayList and Vector that characterises array-like collections. You can convert an ordinary array into a List with Arrays.asList(myArray). A List is a Collection, but it is not a Set. Lists can have duplicates; Sets cannot.
  6. In dbAnywhere, a List is group of columns in an SQL (Standard Query Language) table.

You can check if a List is in order with com.mindprod.common17.InOrder.

Learning More

Oracle’s Javadoc on java.awt.List class : available:
Oracle’s Javadoc on java.util.List interface : available:
Oracle’s Javadoc on Collections.binarySearch (Lists only) : available:
Oracle’s Javadoc on Collections.shuffle (Lists only) : available:
Oracle’s Javadoc on Collections.sort (Lists only) : available:
Oracle’s Javadoc on Collections.synchronizedList : available:
Oracle’s Javadoc on Collections.unmodifiableList : available:
Oracle’s Javadoc on RandomAccess interface : Its presence means there is no great speed penalty for accessing items out of order. : available:

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

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.
Your face IP:[]
You are visitor number