JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Interface
java.util.List

Packages that use List
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 
java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications. 
java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
javax.imageio The main package of the Java Image I/O API. 
javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of List in java.awt
 

Methods in java.awt that return List
protected  List KeyboardFocusManager.getKeyEventDispatchers()
          Returns this KeyboardFocusManager's KeyEventDispatcher chain as a List.
protected  List KeyboardFocusManager.getKeyEventPostProcessors()
          Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a List.
 

Uses of List in java.awt.datatransfer
 

Methods in java.awt.datatransfer that return List
 List SystemFlavorMap.getNativesForFlavor(DataFlavor flav)
          Returns a List of String natives to which the specified DataFlavor can be translated by the data transfer subsystem.
 List SystemFlavorMap.getFlavorsForNative(String nat)
          Returns a List of DataFlavors to which the specified String native can be translated by the data transfer subsystem.
 List FlavorTable.getNativesForFlavor(DataFlavor flav)
          Returns a List of String natives to which the specified DataFlavor corresponds.
 List FlavorTable.getFlavorsForNative(String nat)
          Returns a List of DataFlavors to which the specified String corresponds.
 

Uses of List in java.awt.dnd
 

Methods in java.awt.dnd that return List
protected  List DropTargetContext.getCurrentDataFlavorsAsList()
          This method returns a the currently available DataFlavors of the Transferable operand as a java.util.List.
 List DropTargetDropEvent.getCurrentDataFlavorsAsList()
          This method returns the currently available DataFlavors as a java.util.List.
 List DropTargetDragEvent.getCurrentDataFlavorsAsList()
          This method returns the current DataFlavors as a java.util.List
 

Constructors in java.awt.dnd with parameters of type List
DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List evs)
          Construct a DragGestureEvent given the DragGestureRecognizer firing this event, an int representing the user's preferred action, a Point indicating the origin of the drag, and a List of events that comprise the gesture.
 

Uses of List in java.security.cert
 

Methods in java.security.cert that return List
 List PKIXParameters.getCertStores()
          Returns an immutable List of CertStores that are used to find certificates and CRLs.
 List PKIXParameters.getCertPathCheckers()
          Returns the List of certification path checkers.
abstract  List CertPath.getCertificates()
          Returns the list of certificates in this certification path.
 List X509Certificate.getExtendedKeyUsage()
          Gets an unmodifiable list of Strings representing the OBJECT IDENTIFIERs of the ExtKeyUsageSyntax field of the extended key usage extension, (OID = 2.5.29.37).
 

Methods in java.security.cert with parameters of type List
 void PKIXParameters.setCertStores(List stores)
          Sets the list of CertStores to be used in finding certificates and CRLs.
 void PKIXParameters.setCertPathCheckers(List checkers)
          Sets a List of additional certification path checkers.
 CertPath CertificateFactory.generateCertPath(List certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
 CertPath CertificateFactorySpi.engineGenerateCertPath(List certificates)
          Generates a CertPath object and initializes it with a List of Certificates.
 

Uses of List in java.util
 

Classes in java.util that implement List
 class AbstractList
          This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).
 class AbstractSequentialList
          This class provides a skeletal implementation of the List interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).
 class ArrayList
          Resizable-array implementation of the List interface.
 class LinkedList
          Linked list implementation of the List interface.
 class Stack
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
 class Vector
          The Vector class implements a growable array of objects.
 

Fields in java.util declared as List
static List Collections.EMPTY_LIST
          The empty list (immutable).
 

Methods in java.util that return List
static List Arrays.asList(Object[] a)
          Returns a fixed-size list backed by the specified array.
static List Collections.unmodifiableList(List list)
          Returns an unmodifiable view of the specified list.
static List Collections.synchronizedList(List list)
          Returns a synchronized (thread-safe) list backed by the specified list.
static List Collections.singletonList(Object o)
          Returns an immutable list containing only the specified object.
static List Collections.nCopies(int n, Object o)
          Returns an immutable list consisting of n copies of the specified object.
 List List.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
 List AbstractList.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
 List Vector.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
 

Methods in java.util with parameters of type List
static void Collections.sort(List list)
          Sorts the specified list into ascending order, according to the natural ordering of its elements.
static void Collections.sort(List list, Comparator c)
          Sorts the specified list according to the order induced by the specified comparator.
static int Collections.binarySearch(List list, Object key)
          Searches the specified list for the specified object using the binary search algorithm.
static int Collections.binarySearch(List list, Object key, Comparator c)
          Searches the specified list for the specified object using the binary search algorithm.
static void Collections.reverse(List list)
          Reverses the order of the elements in the specified list.
static void Collections.shuffle(List list)
          Randomly permutes the specified list using a default source of randomness.
static void Collections.shuffle(List list, Random rnd)
          Randomly permute the specified list using the specified source of randomness.
static void Collections.swap(List list, int i, int j)
          Swaps the elements at the specified positions in the specified list.
static void Collections.fill(List list, Object obj)
          Replaces all of the elements of the specified list with the specified element.
static void Collections.copy(List dest, List src)
          Copies all of the elements from one list into another.
static void Collections.rotate(List list, int distance)
          Rotates the elements in the specified list by the specified distance.
static boolean Collections.replaceAll(List list, Object oldVal, Object newVal)
          Replaces all occurrences of one specified value in a list with another.
static int Collections.indexOfSubList(List source, List target)
          Returns the starting position of the first occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
static int Collections.lastIndexOfSubList(List source, List target)
          Returns the starting position of the last occurrence of the specified target list within the specified source list, or -1 if there is no such occurrence.
static List Collections.unmodifiableList(List list)
          Returns an unmodifiable view of the specified list.
static List Collections.synchronizedList(List list)
          Returns a synchronized (thread-safe) list backed by the specified list.
 

Uses of List in javax.imageio
 

Fields in javax.imageio declared as List
protected  List ImageWriter.warningListeners
          A List of currently registered IIOWriteWarningListeners, initialized by default to null, which is synonymous with an empty List.
protected  List ImageWriter.warningLocales
          A List of Locales, one for each element of warningListeners, initialized by default null, which is synonymous with an empty List.
protected  List ImageWriter.progressListeners
          A List of currently registered IIOWriteProgressListeners, initialized by default null, which is synonymous with an empty List.
protected  List IIOImage.thumbnails
          A List of BufferedImage thumbnails, or null.
protected  List ImageReader.warningListeners
          A List of currently registered IIOReadWarningListeners, initialized by default to null, which is synonymous with an empty List.
protected  List ImageReader.warningLocales
          A List of the Locales associated with each currently registered IIOReadWarningListener, initialized by default to null, which is synonymous with an empty List.
protected  List ImageReader.progressListeners
          A List of currently registered IIOReadProgressListeners, initialized by default to null, which is synonymous with an empty List.
protected  List ImageReader.updateListeners
          A List of currently registered IIOReadUpdateListeners, initialized by default to null, which is synonymous with an empty List.
 

Methods in javax.imageio that return List
 List IIOImage.getThumbnails()
          Returns the current List of thumbnail BufferedImages, or null if none is set.
 

Methods in javax.imageio with parameters of type List
 void ImageWriter.prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List thumbnails, ImageWriteParam param)
          Begins the writing of a complete image stream, consisting of a single image with undefined pixel values and associated metadata and thumbnails, to the output.
 void ImageWriter.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List thumbnails, ImageWriteParam param)
          Begins the insertion of a new image with undefined pixel values into an existing image stream.
 void IIOImage.setThumbnails(List thumbnails)
          Sets the list of thumbnails to a new List of BufferedImages, or to null.
 

Constructors in javax.imageio with parameters of type List
IIOImage(RenderedImage image, List thumbnails, IIOMetadata metadata)
          Constructs an IIOImage containing a RenderedImage, and thumbnails and metadata associated with it.
IIOImage(Raster raster, List thumbnails, IIOMetadata metadata)
          Constructs an IIOImage containing a Raster, and thumbnails and metadata associated with it.
 

Uses of List in javax.imageio.metadata
 

Methods in javax.imageio.metadata with parameters of type List
protected  void IIOMetadataFormatImpl.addAttribute(String elementName, String attrName, int dataType, boolean required, String defaultValue, List enumeratedValues)
          Adds a new attribute to a previously defined element that will be defined by a set of enumerated values.
protected  void IIOMetadataFormatImpl.addObjectValue(String elementName, Class classType, boolean required, Object defaultValue, List enumeratedValues)
          Allows an Object reference of a given class type to be stored in nodes implementing the named element.
 

Uses of List in javax.swing
 

Methods in javax.swing that return List
 List SpinnerListModel.getList()
          Returns the List that defines the sequence for this model.
 

Methods in javax.swing with parameters of type List
 void SpinnerListModel.setList(List list)
          Changes the list that defines this sequence and resets the index of the models value to zero.
 

Constructors in javax.swing with parameters of type List
SpinnerListModel(List values)
          Constructs a SpinnerModel whose sequence of values is defined by the specified List.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2003 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.