Java™ Platform
Standard Ed. 6

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.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.management Provides the management interface for monitoring and management of the Java virtual machine as well as the operating system on which the Java virtual machine is running. 
java.net Provides the classes for implementing networking applications. 
java.security Provides the classes and interfaces for the security framework. 
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). 
java.util.concurrent Utility classes commonly useful in concurrent programming. 
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
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.lang.model.element Interfaces used to model elements of the Java programming language. 
javax.lang.model.type Interfaces used to model Java programming language types. 
javax.lang.model.util Utilities to assist in the processing of program elements and types
javax.management Provides the core classes for the Java Management Extensions. 
javax.management.loading Provides the classes which implement advanced dynamic loading. 
javax.management.openmbean Provides the open data types and Open MBean descriptor classes. 
javax.management.relation Provides the definition of the Relation Service. 
javax.naming.ldap Provides support for LDAPv3 extended operations and controls. 
javax.net.ssl Provides classes for the secure socket package. 
javax.script The scripting API consists of interfaces and classes that define Java TM Scripting Engines and provides a framework for their use in Java applications. 
javax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers. 
javax.xml.crypto.dsig Classes for generating and validating XML digital signatures. 
javax.xml.crypto.dsig.keyinfo Classes for parsing and processing KeyInfo elements and structures. 
javax.xml.crypto.dsig.spec Parameter classes for XML digital signatures. 
javax.xml.stream.events   
javax.xml.ws This package contains the core JAX-WS APIs. 
javax.xml.ws.handler This package defines APIs for message handlers. 
javax.xml.ws.spi This package defines SPIs for JAX-WS. 
javax.xml.xpath This package provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. 
 

Uses of List in java.awt
 

Methods in java.awt that return List
 List<Image> Window.getIconImages()
          Returns the sequence of images to be displayed as the icon for this window.
protected  List<KeyEventDispatcher> KeyboardFocusManager.getKeyEventDispatchers()
          Returns this KeyboardFocusManager's KeyEventDispatcher chain as a List.
protected  List<KeyEventPostProcessor> KeyboardFocusManager.getKeyEventPostProcessors()
          Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a List.
 

Methods in java.awt with parameters of type List
 void Window.setIconImages(List<? extends Image> icons)
          Sets the sequence of images to be displayed as the icon for this window.
 

Uses of List in java.awt.datatransfer
 

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

Uses of List in java.awt.dnd
 

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

Constructors in java.awt.dnd with parameters of type List
DragGestureEvent(DragGestureRecognizer dgr, int act, Point ori, List<? extends InputEvent> 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.lang
 

Methods in java.lang that return List
 List<String> ProcessBuilder.command()
          Returns this process builder's operating system program and arguments.
 

Methods in java.lang with parameters of type List
 ProcessBuilder ProcessBuilder.command(List<String> command)
          Sets this process builder's operating system program and arguments.
 

Constructors in java.lang with parameters of type List
ProcessBuilder(List<String> command)
          Constructs a process builder with the specified operating system program and arguments.
 

Uses of List in java.lang.management
 

Methods in java.lang.management that return List
static List<GarbageCollectorMXBean> ManagementFactory.getGarbageCollectorMXBeans()
          Returns a list of GarbageCollectorMXBean objects in the Java virtual machine.
 List<String> RuntimeMXBean.getInputArguments()
          Returns the input arguments passed to the Java virtual machine which does not include the arguments to the main method.
static List<MemoryManagerMXBean> ManagementFactory.getMemoryManagerMXBeans()
          Returns a list of MemoryManagerMXBean objects in the Java virtual machine.
static List<MemoryPoolMXBean> ManagementFactory.getMemoryPoolMXBeans()
          Returns a list of MemoryPoolMXBean objects in the Java virtual machine.
 

Uses of List in java.net
 

Methods in java.net that return List
 List<HttpCookie> CookieStore.get(URI uri)
          Retrieve cookies associated with given URI, or whose domain matches the given URI.
 List<HttpCookie> CookieStore.getCookies()
          Get all not-expired cookies in cookie store.
 List<InterfaceAddress> NetworkInterface.getInterfaceAddresses()
          Get a List of all or a subset of the InterfaceAddresses of this network interface.
abstract  List<Certificate> SecureCacheResponse.getLocalCertificateChain()
          Returns the certificate chain that were sent to the server during handshaking of the original connection that retrieved the network resource.
abstract  List<Certificate> SecureCacheResponse.getServerCertificateChain()
          Returns the server's certificate chain, which was established as part of defining the session in the original connection that retrieved the network resource, from cache.
 List<URI> CookieStore.getURIs()
          Get all URIs which identify the cookies in this cookie store.
static List<HttpCookie> HttpCookie.parse(String header)
          Constructs cookies from set-cookie or set-cookie2 header string.
abstract  List<Proxy> ProxySelector.select(URI uri)
          Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.
 

Methods in java.net that return types with arguments of type List
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
 Map<String,List<String>> URLConnection.getHeaderFields()
          Returns an unmodifiable Map of the header fields.
abstract  Map<String,List<String>> CacheResponse.getHeaders()
          Returns the response headers as a Map.
 Map<String,List<String>> URLConnection.getRequestProperties()
          Returns an unmodifiable Map of general request properties for this connection.
 

Method parameters in java.net with type arguments of type List
 Map<String,List<String>> CookieManager.get(URI uri, Map<String,List<String>> requestHeaders)
           
abstract  Map<String,List<String>> CookieHandler.get(URI uri, Map<String,List<String>> requestHeaders)
          Gets all the applicable cookies from a cookie cache for the specified uri in the request header.
abstract  CacheResponse ResponseCache.get(URI uri, String rqstMethod, Map<String,List<String>> rqstHeaders)
          Retrieve the cached response based on the requesting uri, request method and request headers.
 void CookieManager.put(URI uri, Map<String,List<String>> responseHeaders)
           
abstract  void CookieHandler.put(URI uri, Map<String,List<String>> responseHeaders)
          Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.
 

Uses of List in java.security
 

Constructors in java.security with parameters of type List
Provider.Service(Provider provider, String type, String algorithm, String className, List<String> aliases, Map<String,String> attributes)
          Construct a new service.
 

Uses of List in java.security.cert
 

Methods in java.security.cert that return List
abstract  List<? extends Certificate> CertPath.getCertificates()
          Returns the list of certificates in this certification path.
 List<PKIXCertPathChecker> PKIXParameters.getCertPathCheckers()
          Returns the List of certification path checkers.
 List<CertStore> PKIXParameters.getCertStores()
          Returns an immutable List of CertStores that are used to find certificates and CRLs.
 List<String> 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 that return types with arguments of type List
 Collection<List<?>> X509Certificate.getIssuerAlternativeNames()
          Gets an immutable collection of issuer alternative names from the IssuerAltName extension, (OID = 2.5.29.18).
 Collection<List<?>> X509CertSelector.getPathToNames()
          Returns a copy of the pathToNames criterion.
 Collection<List<?>> X509CertSelector.getSubjectAlternativeNames()
          Returns a copy of the subjectAlternativeNames criterion.
 Collection<List<?>> X509Certificate.getSubjectAlternativeNames()
          Gets an immutable collection of subject alternative names from the SubjectAltName extension, (OID = 2.5.29.17).
 

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

Method parameters in java.security.cert with type arguments of type List
 void X509CertSelector.setPathToNames(Collection<List<?>> names)
          Sets the pathToNames criterion.
 void X509CertSelector.setSubjectAlternativeNames(Collection<List<?>> names)
          Sets the subjectAlternativeNames criterion.
 

Uses of List in java.util
 

Classes in java.util that implement List
 class AbstractList<E>
          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<E>
          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<E>
          Resizable-array implementation of the List interface.
 class LinkedList<E>
          Linked list implementation of the List interface.
 class Stack<E>
          The Stack class represents a last-in-first-out (LIFO) stack of objects.
 class Vector<E>
          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).
static List<String> ResourceBundle.Control.FORMAT_CLASS
          The class-only format List containing "java.class".
static List<String> ResourceBundle.Control.FORMAT_DEFAULT
          The default format List, which contains the strings "java.class" and "java.properties", in this order.
static List<String> ResourceBundle.Control.FORMAT_PROPERTIES
          The properties-only format List containing "java.properties".
 

Methods in java.util that return List
static
<T> List<T>
Arrays.asList(T... a)
          Returns a fixed-size list backed by the specified array.
static
<E> List<E>
Collections.checkedList(List<E> list, Class<E> type)
          Returns a dynamically typesafe view of the specified list.
static
<T> List<T>
Collections.emptyList()
          Returns the empty list (immutable).
 List<Locale> ResourceBundle.Control.getCandidateLocales(String baseName, Locale locale)
          Returns a List of Locales as candidate locales for baseName and locale.
 List<String> ResourceBundle.Control.getFormats(String baseName)
          Returns a List of Strings containing formats to be used to load resource bundles for the given baseName.
static
<T> List<T>
Collections.nCopies(int n, T o)
          Returns an immutable list consisting of n copies of the specified object.
static
<T> List<T>
Collections.singletonList(T o)
          Returns an immutable list containing only the specified object.
 List<E> List.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
 List<E> AbstractList.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this list between the specified fromIndex, inclusive, and toIndex, exclusive.
 List<E> Vector.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.
static
<T> List<T>
Collections.synchronizedList(List<T> list)
          Returns a synchronized (thread-safe) list backed by the specified list.
static
<T> List<T>
Collections.unmodifiableList(List<? extends T> list)
          Returns an unmodifiable view of the specified list.
 

Methods in java.util with parameters of type List
static
<T> int
Collections.binarySearch(List<? extends Comparable<? super T>> list, T key)
          Searches the specified list for the specified object using the binary search algorithm.
static
<T> int
Collections.binarySearch(List<? extends T> list, T key, Comparator<? super T> c)
          Searches the specified list for the specified object using the binary search algorithm.
static
<E> List<E>
Collections.checkedList(List<E> list, Class<E> type)
          Returns a dynamically typesafe view of the specified list.
static
<T> void
Collections.copy(List<? super T> dest, List<? extends T> src)
          Copies all of the elements from one list into another.
static
<T> void
Collections.copy(List<? super T> dest, List<? extends T> src)
          Copies all of the elements from one list into another.
static
<T> void
Collections.fill(List<? super T> list, T obj)
          Replaces all of the elements of the specified list with the specified element.
static ResourceBundle.Control ResourceBundle.Control.getControl(List<String> formats)
          Returns a ResourceBundle.Control in which the getFormats method returns the specified formats.
static ResourceBundle.Control ResourceBundle.Control.getNoFallbackControl(List<String> formats)
          Returns a ResourceBundle.Control in which the getFormats method returns the specified formats and the getFallbackLocale method returns null.
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.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 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
<T> boolean
Collections.replaceAll(List<T> list, T oldVal, T newVal)
          Replaces all occurrences of one specified value in a list with another.
static void Collections.reverse(List<?> list)
          Reverses the order of the elements in the specified list.
static void Collections.rotate(List<?> list, int distance)
          Rotates the elements in the specified list by the specified distance.
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
<T extends Comparable<? super T>>
void
Collections.sort(List<T> list)
          Sorts the specified list into ascending order, according to the natural ordering of its elements.
static
<T> void
Collections.sort(List<T> list, Comparator<? super T> c)
          Sorts the specified list according to the order induced by the specified comparator.
static void Collections.swap(List<?> list, int i, int j)
          Swaps the elements at the specified positions in the specified list.
static
<T> List<T>
Collections.synchronizedList(List<T> list)
          Returns a synchronized (thread-safe) list backed by the specified list.
static
<T> List<T>
Collections.unmodifiableList(List<? extends T> list)
          Returns an unmodifiable view of the specified list.
 

Uses of List in java.util.concurrent
 

Classes in java.util.concurrent that implement List
 class CopyOnWriteArrayList<E>
          A thread-safe variant of ArrayList in which all mutative operations (add, set, and so on) are implemented by making a fresh copy of the underlying array.
 

Methods in java.util.concurrent that return List
<T> List<Future<T>>
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
          Executes the given tasks, returning a list of Futures holding their status and results when all complete.
<T> List<Future<T>>
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks)
           
<T> List<Future<T>>
ExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
          Executes the given tasks, returning a list of Futures holding their status and results when all complete or the timeout expires, whichever happens first.
<T> List<Future<T>>
AbstractExecutorService.invokeAll(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit)
           
 List<Runnable> ScheduledThreadPoolExecutor.shutdownNow()
          Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
 List<Runnable> ThreadPoolExecutor.shutdownNow()
          Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
 List<Runnable> ExecutorService.shutdownNow()
          Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.
 List<E> CopyOnWriteArrayList.subList(int fromIndex, int toIndex)
          Returns a view of the portion of this list between fromIndex, inclusive, and toIndex, exclusive.
 

Uses of List in java.util.logging
 

Methods in java.util.logging that return List
 List<String> LoggingMXBean.getLoggerNames()
          Returns the list of currently registered loggers.
 

Uses of List in javax.imageio
 

Fields in javax.imageio declared as List
protected  List<IIOWriteProgressListener> ImageWriter.progressListeners
          A List of currently registered IIOWriteProgressListeners, initialized by default null, which is synonymous with an empty List.
protected  List<IIOReadProgressListener> ImageReader.progressListeners
          A List of currently registered IIOReadProgressListeners, initialized by default to null, which is synonymous with an empty List.
protected  List<? extends BufferedImage> IIOImage.thumbnails
          A List of BufferedImage thumbnails, or null.
protected  List<IIOReadUpdateListener> ImageReader.updateListeners
          A List of currently registered IIOReadUpdateListeners, initialized by default to null, which is synonymous with an empty List.
protected  List<IIOWriteWarningListener> ImageWriter.warningListeners
          A List of currently registered IIOWriteWarningListeners, initialized by default to null, which is synonymous with an empty List.
protected  List<IIOReadWarningListener> ImageReader.warningListeners
          A List of currently registered IIOReadWarningListeners, initialized by default to null, which is synonymous with an empty List.
protected  List<Locale> 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<Locale> 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.
 

Methods in javax.imageio that return List
 List<? extends BufferedImage> 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.prepareInsertEmpty(int imageIndex, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> thumbnails, ImageWriteParam param)
          Begins the insertion of a new image with undefined pixel values into an existing image stream.
 void ImageWriter.prepareWriteEmpty(IIOMetadata streamMetadata, ImageTypeSpecifier imageType, int width, int height, IIOMetadata imageMetadata, List<? extends BufferedImage> 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 IIOImage.setThumbnails(List<? extends BufferedImage> 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(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
          Constructs an IIOImage containing a Raster, and thumbnails and metadata associated with it.
IIOImage(RenderedImage image, List<? extends BufferedImage> thumbnails, IIOMetadata metadata)
          Constructs an IIOImage containing a RenderedImage, 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<String> enumeratedValues)
          Adds a new attribute to a previously defined element that will be defined by a set of enumerated values.
protected
<T> void
IIOMetadataFormatImpl.addObjectValue(String elementName, Class<T> classType, boolean required, T defaultValue, List<? extends T> enumeratedValues)
          Allows an Object reference of a given class type to be stored in nodes implementing the named element.
 

Uses of List in javax.lang.model.element
 

Methods in javax.lang.model.element that return List
 List<? extends AnnotationMirror> Element.getAnnotationMirrors()
          Returns the annotations that are directly present on this element.
 List<? extends TypeMirror> TypeParameterElement.getBounds()
          Returns the bounds of this type parameter.
 List<? extends Element> Element.getEnclosedElements()
          Returns the elements that are, loosely speaking, directly enclosed by this element.
 List<? extends TypeMirror> TypeElement.getInterfaces()
          Returns the interface types directly implemented by this class or extended by this interface.
 List<? extends VariableElement> ExecutableElement.getParameters()
          Returns the formal parameters of this executable.
 List<? extends TypeMirror> ExecutableElement.getThrownTypes()
          Returns the exceptions and other throwables listed in this method or constructor's throws clause in declaration order.
 List<? extends TypeParameterElement> TypeElement.getTypeParameters()
          Returns the formal type parameters of this type element in declaration order.
 List<? extends TypeParameterElement> ExecutableElement.getTypeParameters()
          Returns the formal type parameters of this executable in declaration order.
 

Methods in javax.lang.model.element with parameters of type List
 R AnnotationValueVisitor.visitArray(List<? extends AnnotationValue> vals, P p)
          Visits an array value in an annotation.
 

Uses of List in javax.lang.model.type
 

Methods in javax.lang.model.type that return List
 List<? extends TypeMirror> ExecutableType.getParameterTypes()
          Returns the types of this executable's formal parameters.
 List<? extends TypeMirror> ExecutableType.getThrownTypes()
          Returns the exceptions and other throwables listed in this executable's throws clause.
 List<? extends TypeMirror> DeclaredType.getTypeArguments()
          Returns the actual type arguments of this type.
 List<? extends TypeMirror> MirroredTypesException.getTypeMirrors()
          Returns the type mirrors corresponding to the types being accessed.
 List<? extends TypeVariable> ExecutableType.getTypeVariables()
          Returns the type variables declared by the formal type parameters of this executable.
 

Constructors in javax.lang.model.type with parameters of type List
MirroredTypesException(List<? extends TypeMirror> types)
          Constructs a new MirroredTypesException for the specified types.
 

Uses of List in javax.lang.model.util
 

Methods in javax.lang.model.util that return List
static List<ExecutableElement> ElementFilter.constructorsIn(Iterable<? extends Element> elements)
          Returns a list of constructors in elements.
 List<? extends TypeMirror> Types.directSupertypes(TypeMirror t)
          Returns the direct supertypes of a type.
static List<VariableElement> ElementFilter.fieldsIn(Iterable<? extends Element> elements)
          Returns a list of fields in elements.
 List<? extends AnnotationMirror> Elements.getAllAnnotationMirrors(Element e)
          Returns all annotations of an element, whether inherited or directly present.
 List<? extends Element> Elements.getAllMembers(TypeElement type)
          Returns all members of a type element, whether inherited or declared directly.
static List<ExecutableElement> ElementFilter.methodsIn(Iterable<? extends Element> elements)
          Returns a list of methods in elements.
static List<PackageElement> ElementFilter.packagesIn(Iterable<? extends Element> elements)
          Returns a list of packages in elements.
static List<TypeElement> ElementFilter.typesIn(Iterable<? extends Element> elements)
          Returns a list of types in elements.
 

Methods in javax.lang.model.util with parameters of type List
 R SimpleAnnotationValueVisitor6.visitArray(List<? extends AnnotationValue> vals, P p)
          Visits an array value in an annotation.
 

Uses of List in javax.management
 

Classes in javax.management that implement List
 class AttributeList
          Represents a list of values for attributes of an MBean.
 

Methods in javax.management that return List
 List<Attribute> AttributeList.asList()
          Return a view of this list as a List<Attribute>.
 

Constructors in javax.management with parameters of type List
AttributeList(List<Attribute> list)
          Constructs an AttributeList containing the elements of the List specified, in the order in which they are returned by the List's iterator.
 

Uses of List in javax.management.loading
 

Methods in javax.management.loading that return List
 List<String> MLetContent.getParameterTypes()
          Gets the list of values of the TYPE attribute in each nested <PARAM> tag within the MLET tag.
 List<String> MLetContent.getParameterValues()
          Gets the list of values of the VALUE attribute in each nested <PARAM> tag within the MLET tag.
 

Constructors in javax.management.loading with parameters of type List
MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)
          Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
MLetContent(URL url, Map<String,String> attributes, List<String> types, List<String> values)
          Creates an MLet instance initialized with attributes read from an MLET tag in an MLet text file.
 

Uses of List in javax.management.openmbean
 

Fields in javax.management.openmbean declared as List
static List<String> OpenType.ALLOWED_CLASSNAMES_LIST
          List of the fully qualified names of the Java classes allowed for open data values.
 

Methods in javax.management.openmbean that return List
 List<String> TabularType.getIndexNames()
          Returns, in the same order as was given to this instance's constructor, an unmodifiable List of the names of the items the values of which are used to uniquely index each row element of tabular data values described by this TabularType instance.
 

Uses of List in javax.management.relation
 

Classes in javax.management.relation that implement List
 class RoleList
          A RoleList represents a list of roles (Role objects).
 class RoleUnresolvedList
          A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write) the roles.
 

Methods in javax.management.relation that return List
 List<RoleUnresolved> RoleUnresolvedList.asList()
          Return a view of this list as a List<RoleUnresolved>.
 List<Role> RoleList.asList()
          Return a view of this list as a List<Role>.
 List<String> RelationServiceMBean.findRelationsOfType(String relationTypeName)
          Returns the relation ids for relations of the given type.
 List<String> RelationService.findRelationsOfType(String relationTypeName)
          Returns the relation ids for relations of the given type.
 List<String> RelationServiceMBean.getAllRelationIds()
          Returns all the relation ids for all the relations handled by the Relation Service.
 List<String> RelationService.getAllRelationIds()
          Returns all the relation ids for all the relations handled by the Relation Service.
 List<String> RelationServiceMBean.getAllRelationTypeNames()
          Retrieves names of all known relation types.
 List<String> RelationService.getAllRelationTypeNames()
          Retrieves names of all known relation types.
 List<ObjectName> RelationNotification.getMBeansToUnregister()
          Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).
 List<ObjectName> RelationNotification.getNewRoleValue()
          Returns new value of updated role (only for role update).
 List<ObjectName> RelationNotification.getOldRoleValue()
          Returns old value of updated role (only for role update).
 List<ObjectName> RelationSupport.getRole(String roleName)
          Retrieves role value for given role name.
 List<ObjectName> Relation.getRole(String roleName)
          Retrieves role value for given role name.
 List<ObjectName> RelationServiceMBean.getRole(String relationId, String roleName)
          Retrieves role value for given role name in given relation.
 List<ObjectName> RelationService.getRole(String relationId, String roleName)
          Retrieves role value for given role name in given relation.
 List<RoleInfo> RelationTypeSupport.getRoleInfos()
          Returns the list of role definitions (ArrayList of RoleInfo objects).
 List<RoleInfo> RelationType.getRoleInfos()
          Returns the list of role definitions (ArrayList of RoleInfo objects).
 List<RoleInfo> RelationServiceMBean.getRoleInfos(String relationTypeName)
          Retrieves list of role infos (RoleInfo objects) of a given relation type.
 List<RoleInfo> RelationService.getRoleInfos(String relationTypeName)
          Retrieves list of role infos (RoleInfo objects) of a given relation type.
 List<ObjectName> RoleUnresolved.getRoleValue()
          Retrieves role value.
 List<ObjectName> Role.getRoleValue()
          Retrieves role value.
 

Methods in javax.management.relation that return types with arguments of type List
 Map<ObjectName,List<String>> RelationServiceMBean.findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)
          Retrieves the MBeans associated to given one in a relation.
 Map<ObjectName,List<String>> RelationService.findAssociatedMBeans(ObjectName mbeanName, String relationTypeName, String roleName)
          Retrieves the MBeans associated to given one in a relation.
 Map<String,List<String>> RelationServiceMBean.findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)
          Retrieves the relations where a given MBean is referenced.
 Map<String,List<String>> RelationService.findReferencingRelations(ObjectName mbeanName, String relationTypeName, String roleName)
          Retrieves the relations where a given MBean is referenced.
 Map<ObjectName,List<String>> RelationSupport.getReferencedMBeans()
          Retrieves MBeans referenced in the various roles of the relation.
 Map<ObjectName,List<String>> Relation.getReferencedMBeans()
          Retrieves MBeans referenced in the various roles of the relation.
 Map<ObjectName,List<String>> RelationServiceMBean.getReferencedMBeans(String relationId)
          Retrieves MBeans referenced in the various roles of the relation.
 Map<ObjectName,List<String>> RelationService.getReferencedMBeans(String relationId)
          Retrieves MBeans referenced in the various roles of the relation.
 

Methods in javax.management.relation with parameters of type List
static String Role.roleValueToString(List<ObjectName> roleValue)
          Returns a string for the given role value.
 void RelationServiceMBean.sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)
          Sends a notification (RelationNotification) for a relation removal.
 void RelationService.sendRelationRemovalNotification(String relationId, List<ObjectName> unregMBeanList)
          Sends a notification (RelationNotification) for a relation removal.
 void RelationServiceMBean.sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldRoleValue)
          Sends a notification (RelationNotification) for a role update in the given relation.
 void RelationService.sendRoleUpdateNotification(String relationId, Role newRole, List<ObjectName> oldValue)
          Sends a notification (RelationNotification) for a role update in the given relation.
 void RoleUnresolved.setRoleValue(List<ObjectName> value)
          Sets role value.
 void Role.setRoleValue(List<ObjectName> roleValue)
          Sets role value.
 void RelationServiceMBean.updateRoleMap(String relationId, Role newRole, List<ObjectName> oldRoleValue)
          Handles update of the Relation Service role map for the update of given role in given relation.
 void RelationService.updateRoleMap(String relationId, Role newRole, List<ObjectName> oldValue)
          Handles update of the Relation Service role map for the update of given role in given relation.
 

Constructors in javax.management.relation with parameters of type List
RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, List<ObjectName> unregMBeanList)
          Creates a notification for either a relation creation (RelationSupport object created internally in the Relation Service, or an MBean added as a relation) or for a relation removal from the Relation Service.
RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)
          Creates a notification for a role update in a relation.
RelationNotification(String notifType, Object sourceObj, long sequence, long timeStamp, String message, String id, String typeName, ObjectName objectName, String name, List<ObjectName> newValue, List<ObjectName> oldValue)
          Creates a notification for a role update in a relation.
Role(String roleName, List<ObjectName> roleValue)
          Make a new Role object.
RoleList(List<Role> list)
          Constructs a RoleList containing the elements of the List specified, in the order in which they are returned by the List's iterator.
RoleUnresolved(String name, List<ObjectName> value, int pbType)
          Constructor.
RoleUnresolvedList(List<RoleUnresolved> list)
          Constructs a RoleUnresolvedList containing the elements of the List specified, in the order in which they are returned by the List's iterator.
 

Uses of List in javax.naming.ldap
 

Methods in javax.naming.ldap that return List
 List<Rdn> LdapName.getRdns()
          Retrieves the list of relative distinguished names.
 

Methods in javax.naming.ldap with parameters of type List
 Name LdapName.addAll(int posn, List<Rdn> suffixRdns)
          Adds the RDNs of a name -- in order -- at a specified position within this name.
 Name LdapName.addAll(List<Rdn> suffixRdns)
          Adds the RDNs of a name -- in order -- to the end of this name.
 boolean LdapName.endsWith(List<Rdn> rdns)
          Determines whether the specified RDN sequence forms a suffix of this LDAP name.
 boolean LdapName.startsWith(List<Rdn> rdns)
          Determines whether the specified RDN sequence forms a prefix of this LDAP name.
 

Constructors in javax.naming.ldap with parameters of type List
LdapName(List<Rdn> rdns)
          Constructs an LDAP name given its parsed RDN components.
 

Uses of List in javax.net.ssl
 

Methods in javax.net.ssl that return List
 List KeyStoreBuilderParameters.getParameters()
          Return the unmodifiable List of the KeyStore.Builders encapsulated by this object.
 

Constructors in javax.net.ssl with parameters of type List
KeyStoreBuilderParameters(List parameters)
          Construct new KeyStoreBuilderParameters from a List of KeyStore.Builders.
 

Uses of List in javax.script
 

Methods in javax.script that return List
 List<ScriptEngineFactory> ScriptEngineManager.getEngineFactories()
          Returns an array whose elements are instances of all the ScriptEngineFactory classes found by the discovery mechanism.
 List<String> ScriptEngineFactory.getExtensions()
          Returns an immutable list of filename extensions, which generally identify scripts written in the language supported by this ScriptEngine.
 List<String> ScriptEngineFactory.getMimeTypes()
          Returns an immutable list of mimetypes, associated with scripts that can be executed by the engine.
 List<String> ScriptEngineFactory.getNames()
          Returns an immutable list of short names for the ScriptEngine, which may be used to identify the ScriptEngine by the ScriptEngineManager.
 List<Integer> SimpleScriptContext.getScopes()
          Returns immutable List of all the valid values for scope in the ScriptContext.
 List<Integer> ScriptContext.getScopes()
          Returns immutable List of all the valid values for scope in the ScriptContext.
 

Uses of List in javax.sound.midi
 

Methods in javax.sound.midi that return List
 List<Receiver> MidiDevice.getReceivers()
          Returns all currently active, non-closed receivers connected with this MidiDevice.
 List<Transmitter> MidiDevice.getTransmitters()
          Returns all currently active, non-closed transmitters connected with this MidiDevice.
 

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.
 List<? extends RowSorter.SortKey> DefaultRowSorter.getSortKeys()
          Returns the current sort keys.
abstract  List<? extends RowSorter.SortKey> RowSorter.getSortKeys()
          Returns the current sort keys.
 

Methods in javax.swing with parameters of type List
protected  void SwingWorker.process(List<V> chunks)
          Receives data chunks from the publish method asynchronously on the Event Dispatch Thread.
 void SpinnerListModel.setList(List<?> list)
          Changes the list that defines this sequence and resets the index of the models value to zero.
 void DefaultRowSorter.setSortKeys(List<? extends RowSorter.SortKey> sortKeys)
          Sets the sort keys.
abstract  void RowSorter.setSortKeys(List<? extends RowSorter.SortKey> keys)
          Sets the current sort keys.
 

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.
 

Uses of List in javax.tools
 

Methods in javax.tools that return List
 List<Diagnostic<? extends S>> DiagnosticCollector.getDiagnostics()
          Gets a list view of diagnostics collected by this object.
 

Uses of List in javax.xml.crypto.dsig
 

Methods in javax.xml.crypto.dsig that return List
 List XMLObject.getContent()
          Returns an unmodifiable list of XMLStructures contained in this XMLObject, which represent elements from any namespace.
 List SignatureProperty.getContent()
          Returns an unmodifiable list of one or more XMLStructures that are contained in this SignatureProperty.
 List XMLSignature.getObjects()
          Returns an unmodifiable list of XMLObjects contained in this XMLSignature.
 List SignatureProperties.getProperties()
          Returns an unmodifiable list of one or more SignaturePropertys that are contained in this SignatureProperties.
 List SignedInfo.getReferences()
          Returns an unmodifiable list of one or more References.
 List Manifest.getReferences()
          Returns an unmodifiable list of one or more References that are contained in this Manifest.
 List Reference.getTransforms()
          Returns an unmodifiable list of Transforms that are contained in this Reference.
 

Methods in javax.xml.crypto.dsig with parameters of type List
abstract  Manifest XMLSignatureFactory.newManifest(List references)
          Creates a Manifest containing the specified list of References.
abstract  Manifest XMLSignatureFactory.newManifest(List references, String id)
          Creates a Manifest containing the specified list of References and optional id.
abstract  Reference XMLSignatureFactory.newReference(String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)
          Creates a Reference with the specified parameters.
abstract  Reference XMLSignatureFactory.newReference(String uri, DigestMethod dm, List appliedTransforms, Data result, List transforms, String type, String id)
          Creates a Reference with the specified parameters.
abstract  Reference XMLSignatureFactory.newReference(String uri, DigestMethod dm, List transforms, String type, String id)
          Creates a Reference with the specified parameters.
abstract  Reference XMLSignatureFactory.newReference(String uri, DigestMethod dm, List transforms, String type, String id, byte[] digestValue)
          Creates a Reference with the specified parameters and pre-calculated digest value.
abstract  SignatureProperties XMLSignatureFactory.newSignatureProperties(List properties, String id)
          Creates a SignatureProperties containing the specified list of SignaturePropertys and optional id.
abstract  SignatureProperty XMLSignatureFactory.newSignatureProperty(List content, String target, String id)
          Creates a SignatureProperty containing the specified list of XMLStructures, target URI and optional id.
abstract  SignedInfo XMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references)
          Creates a SignedInfo with the specified canonicalization and signature methods, and list of one or more references.
abstract  SignedInfo XMLSignatureFactory.newSignedInfo(CanonicalizationMethod cm, SignatureMethod sm, List references, String id)
          Creates a SignedInfo with the specified parameters.
abstract  XMLObject XMLSignatureFactory.newXMLObject(List content, String id, String mimeType, String encoding)
          Creates an XMLObject from the specified parameters.
abstract  XMLSignature XMLSignatureFactory.newXMLSignature(SignedInfo si, KeyInfo ki, List objects, String id, String signatureValueId)
          Creates an XMLSignature and initializes it with the specified parameters.
 

Uses of List in javax.xml.crypto.dsig.keyinfo
 

Methods in javax.xml.crypto.dsig.keyinfo that return List
 List X509Data.getContent()
          Returns an unmodifiable list of the content in this X509Data.
 List KeyInfo.getContent()
          Returns an unmodifiable list containing the key information.
 List PGPData.getExternalElements()
          Returns an unmodifiable list of XMLStructures representing elements from an external namespace.
 List RetrievalMethod.getTransforms()
          Returns an unmodifiable list of Transforms of this RetrievalMethod.
 

Methods in javax.xml.crypto.dsig.keyinfo with parameters of type List
abstract  KeyInfo KeyInfoFactory.newKeyInfo(List content)
          Creates a KeyInfo containing the specified list of key information types.
abstract  KeyInfo KeyInfoFactory.newKeyInfo(List content, String id)
          Creates a KeyInfo containing the specified list of key information types and optional id.
abstract  PGPData KeyInfoFactory.newPGPData(byte[] keyId, byte[] keyPacket, List other)
          Creates a PGPData from the specified PGP public key identifier, and optional key material packet and list of external elements.
abstract  PGPData KeyInfoFactory.newPGPData(byte[] keyPacket, List other)
          Creates a PGPData from the specified PGP key material packet and optional list of external elements.
abstract  RetrievalMethod KeyInfoFactory.newRetrievalMethod(String uri, String type, List transforms)
          Creates a RetrievalMethod from the specified parameters.
abstract  X509Data KeyInfoFactory.newX509Data(List content)
          Creates a X509Data containing the specified list of X.509 content.
 

Uses of List in javax.xml.crypto.dsig.spec
 

Methods in javax.xml.crypto.dsig.spec that return List
 List ExcC14NParameterSpec.getPrefixList()
          Returns the inclusive namespace prefix list.
 List XPathFilter2ParameterSpec.getXPathList()
          Returns a list of one or more XPathType objects.
 

Constructors in javax.xml.crypto.dsig.spec with parameters of type List
ExcC14NParameterSpec(List prefixList)
          Creates a ExcC14NParameterSpec with the specified list of prefixes.
XPathFilter2ParameterSpec(List xPathList)
          Creates an XPathFilter2ParameterSpec.
 

Uses of List in javax.xml.stream.events
 

Methods in javax.xml.stream.events that return List
 List DTD.getEntities()
          Return a List containing the general entities, both external and internal, declared in the DTD.
 List DTD.getNotations()
          Return a List containing the notations declared in the DTD.
 

Uses of List in javax.xml.ws
 

Methods in javax.xml.ws that return List
 List<Handler> Binding.getHandlerChain()
          Gets a copy of the handler chain for a protocol binding instance.
abstract  List<Source> Endpoint.getMetadata()
          Returns a list of metadata documents for the service.
 

Methods in javax.xml.ws with parameters of type List
 void Binding.setHandlerChain(List<Handler> chain)
          Sets the handler chain for the protocol binding instance.
abstract  void Endpoint.setMetadata(List<Source> metadata)
          Sets the metadata for this endpoint.
 

Uses of List in javax.xml.ws.handler
 

Methods in javax.xml.ws.handler that return List
 List<Handler> HandlerResolver.getHandlerChain(PortInfo portInfo)
          Gets the handler chain for the specified port.
 

Uses of List in javax.xml.ws.spi
 

Methods in javax.xml.ws.spi with parameters of type List
abstract  W3CEndpointReference Provider.createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters)
          Factory method to create a W3CEndpointReference.
abstract  W3CEndpointReference Provider.createW3CEndpointReference(String address, QName serviceName, QName portName, List<Element> metadata, String wsdlDocumentLocation, List<Element> referenceParameters)
          Factory method to create a W3CEndpointReference.
 

Uses of List in javax.xml.xpath
 

Methods in javax.xml.xpath with parameters of type List
 Object XPathFunction.evaluate(List args)
          Evaluate the function with the specified arguments.
 


Java™ Platform
Standard Ed. 6

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

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.