List : Java Glossary

list
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.common15.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:

CMP homejump to top

available on the web at:

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

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

J:\mindprod\jgloss\list.html
logo
Please email your , letters to the editor, errors, omissions, typos, formatting errors, ambiguities, unclear wording, broken/redirected link reports, suggestions to improve this page or comments to Roedy Green : feedback email. If you want your message, your name or email kept confidential, not considered for public posting, please explicitly specify that. Unless you state otherwise, I will treat your message as a letter to the editor that I may or may not publish in the feedback section. After that, it will be too late to retract it. If you disagree with something I said, especially when sending an ad-hominem attack, a rant composed mainly of obscenities or a death threat, please quote the offending passage and cite the web page where you found it, tell me why you think it is wrong, and, if possible, provide some supporting evidence. I can’t very well fix erroneous or ambiguous text if I can’t find it.
Blog
IP:[65.110.21.43]
Your face IP:[50.16.17.90]
You are visitor number 29,204.