List : Java Glossary
©1996-2017 2008-08-05 Roedy Green of Canadian Mind Products
The word list in Java is
only slightly less vague than the word thing. It has many
- The traditional computer science meaning is a group of objects linked together
in a chain by references.
- The angle a boat tilts in the water.
- A prioritised todo list.
- 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 ).
- 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.
- In dbAnywhere, a List is group of columns in an SQL (Standard Query Language)
You can check if a List is in order with
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)
Oracle’s Javadoc on Collections.shuffle (Lists only)
Oracle’s Javadoc on Collections.sort (Lists only)
Oracle’s Javadoc on Collections.synchronizedList
Oracle’s Javadoc on Collections.unmodifiableList
Oracle’s Javadoc on RandomAccess
interface : Its presence means there is no great speed penalty for accessing items out of order. : available:
Oracle’s Javadoc on Collections.emptyList