Uses of Interface
java.util.List
Package
Description
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Provides interfaces and classes for transferring data between and within
applications.
Provides interfaces and classes for interaction with various desktop
capabilities.
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.
Provides classes for creating and modifying images.
Provides classes that are fundamental to the design of the Java
programming language.
Classes and interfaces to represent nominal descriptors for run-time
entities such as classes or method handles, and classfile entities such as
constant pool entries or
invokedynamic
call sites.Provides low-level access to memory and functions outside the Java runtime.
The
java.lang.invoke
package provides low-level primitives for interacting
with the Java Virtual Machine.Provides the management interfaces for monitoring and management of the
Java virtual machine and other components in the Java runtime.
Classes to support module descriptors and creating configurations of modules
by means of resolution and service binding.
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
Interfaces and classes providing access to file and file system attributes.
Service-provider classes for the
java.nio.file
package.Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing
certificates, certificate revocation lists (CRLs), and
certification paths.
The main API for dates, times, instants, and durations.
Generic API for calendar systems other than the default ISO.
Access to date and time using fields and units, and date time adjusters.
Support for time-zones and their rules.
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
Classes to support functional-style operations on streams of elements, such
as map-reduce transformations on collections.
The main package of the Java Image I/O API.
A package of the Java Image I/O API dealing with reading and writing
metadata.
Public classes used by the built-in TIFF plug-ins.
Types and hierarchies of packages comprising a Java language model, a model of the declarations and types of the Java
programming language.
Interfaces used to model elements of the Java programming language.
Interfaces used to model Java programming language types.
Utilities to assist in the processing of
program elements and
types.
Provides the core classes for the Java Management Extensions.
Provides the classes which implement advanced dynamic
loading.
Provides the open data types and Open MBean descriptor classes.
Provides the definition of the Relation Service.
Provides support for LDAPv3 extended operations and controls.
Provides classes for the secure socket package.
The scripting API consists of interfaces and classes that define
Java Scripting Engines and provides
a framework for their use in Java applications.
Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI
(Musical Instrument Digital Interface) data.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
Provides interfaces for tools which can be invoked from a program,
for example, compilers.
Classes for generating and validating XML digital
signatures.
Classes for parsing and processing
KeyInfo
elements and structures.Parameter classes for XML digital signatures.
Defines event interfaces for the Streaming API for XML (StAX).
Provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
-
Uses of List in java.awt
Modifier and TypeMethodDescriptionWindow.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.Modifier and TypeMethodDescriptionvoid
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
Modifier and TypeMethodDescriptionFlavorTable.getFlavorsForNative
(String nat) Returns aList
ofDataFlavor
s to which the specifiedString
corresponds.SystemFlavorMap.getFlavorsForNative
(String nat) Returns aList
ofDataFlavor
s to which the specifiedString
native can be translated by the data transfer subsystem.FlavorTable.getNativesForFlavor
(DataFlavor flav) Returns aList
ofString
natives to which the specifiedDataFlavor
corresponds.SystemFlavorMap.getNativesForFlavor
(DataFlavor flav) Returns aList
ofString
natives to which the specifiedDataFlavor
can be translated by the data transfer subsystem. -
Uses of List in java.awt.desktop
ModifierConstructorDescriptionOpenFilesEvent
(List<File> files, String searchTerm) Constructs anOpenFilesEvent
.PrintFilesEvent
(List<File> files) Constructs aPrintFilesEvent
. -
Uses of List in java.awt.dnd
Modifier and TypeMethodDescriptionprotected List<DataFlavor>
DropTargetContext.getCurrentDataFlavorsAsList()
This method returns the currently available DataFlavors of theTransferable
operand as ajava.util.List
.DropTargetDragEvent.getCurrentDataFlavorsAsList()
This method returns the currentDataFlavor
s as ajava.util.List
DropTargetDropEvent.getCurrentDataFlavorsAsList()
This method returns the currently availableDataFlavor
s as ajava.util.List
.ModifierConstructorDescriptionDragGestureEvent
(DragGestureRecognizer dgr, int act, Point ori, List<? extends InputEvent> evs) Constructs aDragGestureEvent
object given by theDragGestureRecognizer
instance firing this event, anact
parameter representing the user's preferred action, anori
parameter indicating the origin of the drag, and aList
of events that comprise the gesture(evs
parameter). -
Uses of List in java.awt.image
Modifier and TypeMethodDescriptionBaseMultiResolutionImage.getResolutionVariants()
MultiResolutionImage.getResolutionVariants()
Gets a readable list of all resolution variants. -
Uses of List in java.lang
Modifier and TypeMethodDescriptionProcessBuilder.command()
Returns this process builder's operating system program and arguments.ModuleLayer.parents()
Returns an unmodifiable list of this layer's parents, in search order.ProcessBuilder.startPipeline
(List<ProcessBuilder> builders) Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.Runtime.Version.version()
Returns an unmodifiableList
of the integers represented in the version number.Modifier and TypeMethodDescriptionSets this process builder's operating system program and arguments.static ModuleLayer.Controller
ModuleLayer.defineModules
(Configuration cf, List<ModuleLayer> parentLayers, Function<String, ClassLoader> clf) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine.static ModuleLayer.Controller
ModuleLayer.defineModulesWithManyLoaders
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine.static ModuleLayer.Controller
ModuleLayer.defineModulesWithOneLoader
(Configuration cf, List<ModuleLayer> parentLayers, ClassLoader parentLoader) Creates a new module layer by defining the modules in the givenConfiguration
to the Java virtual machine.ProcessBuilder.startPipeline
(List<ProcessBuilder> builders) Starts a Process for each ProcessBuilder, creating a pipeline of processes linked by their standard output and standard input streams.ModifierConstructorDescriptionProcessBuilder
(List<String> command) Constructs a process builder with the specified operating system program and arguments. -
Uses of List in java.lang.constant
Modifier and TypeMethodDescriptionDynamicConstantDesc.bootstrapArgsList()
Returns the bootstrap arguments for this constant as an immutableList
.MethodTypeDesc.parameterList()
Returns the parameter types as an immutableList
. -
Uses of List in java.lang.foreign
Modifier and TypeMethodDescriptionFunctionDescriptor.argumentLayouts()
Returns the argument layouts associated with this function descriptor (as an immutable list).GroupLayout.memberLayouts()
Returns the member layouts associated with this group. -
Uses of List in java.lang.invoke
Modifier and TypeMethodDescriptionVarHandle.coordinateTypes()
Returns the coordinate types for this VarHandle.MethodType.parameterList()
Presents the parameter types as a list (a convenience method).TypeDescriptor.OfMethod.parameterList()
Return an immutable list of field descriptors for the parameter types of the method type described by this descriptorModifier and TypeMethodDescriptionMethodType.appendParameterTypes
(List<Class<?>> ptypesToInsert) Finds or creates a method type with additional parameter types.static MethodHandle
MethodHandles.dropArguments
(MethodHandle target, int pos, List<Class<?>> valueTypes) Produces a method handle which will discard some dummy arguments before calling some other specified target method handle.static MethodHandle
MethodHandles.dropArgumentsToMatch
(MethodHandle target, int skip, List<Class<?>> newTypes, int pos) Adapts a target method handle to match the given parameter type list.MethodType.insertParameterTypes
(int num, List<Class<?>> ptypesToInsert) Finds or creates a method type with additional parameter types.MethodHandle.invokeWithArguments
(List<?> arguments) Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexactinvoke
from a call site which mentions only the typeObject
, and whose actual argument count is the length of the argument list.static MethodType
MethodType.methodType
(Class<?> rtype, List<Class<?>> ptypes) Finds or creates a method type with the given components.static VarHandle
MethodHandles.permuteCoordinates
(VarHandle target, List<Class<?>> newCoordinates, int... reorder) Preview.Provides a var handle which adapts the coordinate values of the target var handle, by re-arranging them so that the new coordinates match the provided ones. -
Uses of List in java.lang.management
Modifier and TypeMethodDescriptionstatic List<GarbageCollectorMXBean>
ManagementFactory.getGarbageCollectorMXBeans()
Returns a list ofGarbageCollectorMXBean
objects in the Java virtual machine.RuntimeMXBean.getInputArguments()
Returns the input arguments passed to the Java virtual machine which does not include the arguments to themain
method.PlatformLoggingMXBean.getLoggerNames()
Returns the list of the currently registered logger names.static List<MemoryManagerMXBean>
ManagementFactory.getMemoryManagerMXBeans()
Returns a list ofMemoryManagerMXBean
objects in the Java virtual machine.static List<MemoryPoolMXBean>
ManagementFactory.getMemoryPoolMXBeans()
Returns a list ofMemoryPoolMXBean
objects in the Java virtual machine.static <T extends PlatformManagedObject>
List<T>ManagementFactory.getPlatformMXBeans
(Class<T> mxbeanInterface) Returns the list of platform MXBeans implementing the givenmxbeanInterface
in the Java virtual machine.static <T extends PlatformManagedObject>
List<T>ManagementFactory.getPlatformMXBeans
(MBeanServerConnection connection, Class<T> mxbeanInterface) Returns the list of the platform MXBean proxies for forwarding the method calls of themxbeanInterface
through the givenMBeanServerConnection
. -
Uses of List in java.lang.module
Modifier and TypeMethodDescriptionConfiguration.parents()
Returns an unmodifiable list of this configuration's parents, in search order.ModuleDescriptor.Provides.providers()
Returns the list of the fully qualified class names of the providers or provider factories.Modifier and TypeMethodDescriptionProvides implementations of a service.static Configuration
Configuration.resolve
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules to create a configuration.static Configuration
Configuration.resolveAndBind
(ModuleFinder before, List<Configuration> parents, ModuleFinder after, Collection<String> roots) Resolves a collection of root modules, with service binding, to create configuration. -
Uses of List in java.net
Modifier and TypeMethodDescriptionRetrieve cookies associated with given URI, or whose domain matches the given URI.CookieStore.getCookies()
Get all not-expired cookies in cookie store.NetworkInterface.getInterfaceAddresses()
Get a List of all or a subset of theInterfaceAddresses
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.CookieStore.getURIs()
Get all URIs which identify the cookies in this cookie store.static List<HttpCookie>
Constructs cookies from set-cookie or set-cookie2 header string.Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.Modifier and TypeMethodDescriptionGets all the applicable cookies from a cookie cache for the specified uri in the request header.URLConnection.getHeaderFields()
Returns an unmodifiable Map of the header fields.CacheResponse.getHeaders()
Returns the response headers as a Map.URLConnection.getRequestProperties()
Returns an unmodifiable Map of general request properties for this connection.Modifier and TypeMethodDescriptionGets all the applicable cookies from a cookie cache for the specified uri in the request header.abstract CacheResponse
Retrieve the cached response based on the requesting uri, request method and request headers.abstract void
Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.void
-
Uses of List in java.net.http
Modifier and TypeMethodDescriptionstatic <S extends Flow.Subscriber<? super List<ByteBuffer>>,
T>
HttpResponse.BodyHandler<T>HttpResponse.BodyHandlers.fromSubscriber
(S subscriber, Function<? super S, ? extends T> finisher) Returns a response body handler that returns aBodySubscriber
<T>
obtained fromHttpResponse.BodySubscribers.fromSubscriber(Subscriber, Function)
, with the givensubscriber
andfinisher
function.static <S extends Flow.Subscriber<? super List<ByteBuffer>>,
T>
HttpResponse.BodySubscriber<T>HttpResponse.BodySubscribers.fromSubscriber
(S subscriber, Function<? super S, ? extends T> finisher) Returns a body subscriber that forwards all response body to the givenFlow.Subscriber
.Modifier and TypeMethodDescriptionReturns an unmodifiable List of all of the header string values of the given named header.Modifier and TypeMethodDescriptionHttpHeaders.map()
Returns an unmodifiable multi Map view of this HttpHeaders.static HttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>
HttpResponse.BodyHandlers.ofPublisher()
Returns aBodyHandler<Publisher<List<ByteBuffer>>>
that creates aBodySubscriber
<Publisher<List<ByteBuffer>>>
obtained fromBodySubscribers.ofPublisher()
.HttpResponse.BodySubscribers.ofPublisher()
Returns a response subscriber which publishes the response body through aPublisher<List<ByteBuffer>>
.Modifier and TypeMethodDescriptionstatic HttpResponse.BodyHandler<Void>
HttpResponse.BodyHandlers.fromSubscriber
(Flow.Subscriber<? super List<ByteBuffer>> subscriber) Returns a response body handler that returns aBodySubscriber
<Void>
obtained fromHttpResponse.BodySubscribers.fromSubscriber(Subscriber)
, with the givensubscriber
.static HttpResponse.BodySubscriber<Void>
HttpResponse.BodySubscribers.fromSubscriber
(Flow.Subscriber<? super List<ByteBuffer>> subscriber) Returns a body subscriber that forwards all response body to the givenFlow.Subscriber
.static HttpHeaders
Returns an HTTP headers from the given map. -
Uses of List in java.nio.file
Modifier and TypeMethodDescriptionList<WatchEvent<?>>
WatchKey.pollEvents()
Retrieves and removes all pending events for this watch key, returning aList
of the events that were retrieved.Files.readAllLines
(Path path) Read all lines from a file.Files.readAllLines
(Path path, Charset cs) Read all lines from a file. -
Uses of List in java.nio.file.attribute
-
Uses of List in java.nio.file.spi
Modifier and TypeMethodDescriptionstatic List<FileSystemProvider>
FileSystemProvider.installedProviders()
Returns a list of the installed file system providers. -
Uses of List in java.security
-
Uses of List in java.security.cert
Modifier and TypeMethodDescriptionabstract List<? extends Certificate>
CertPath.getCertificates()
Returns the list of certificates in this certification path.PKIXParameters.getCertPathCheckers()
Returns theList
of certification path checkers.PKIXParameters.getCertStores()
Returns an immutableList
ofCertStore
s that are used to find certificates and CRLs.X509Certificate.getExtendedKeyUsage()
Gets an unmodifiable list of Strings representing the OBJECT IDENTIFIERs of theExtKeyUsageSyntax
field of the extended key usage extension, (OID = 2.5.29.37).PKIXRevocationChecker.getOcspExtensions()
Gets the optional OCSP request extensions.abstract List<CertPathValidatorException>
PKIXRevocationChecker.getSoftFailExceptions()
Returns a list containing the exceptions that are ignored by the revocation checker when theSOFT_FAIL
option is set.Modifier and TypeMethodDescriptionCollection<List<?>>
X509Certificate.getIssuerAlternativeNames()
Gets an immutable collection of issuer alternative names from theIssuerAltName
extension, (OID = 2.5.29.18).Collection<List<?>>
X509CertSelector.getPathToNames()
Returns a copy of the pathToNames criterion.Collection<List<?>>
X509Certificate.getSubjectAlternativeNames()
Gets an immutable collection of subject alternative names from theSubjectAltName
extension, (OID = 2.5.29.17).Collection<List<?>>
X509CertSelector.getSubjectAlternativeNames()
Returns a copy of the subjectAlternativeNames criterion.Modifier and TypeMethodDescriptionCertificateFactorySpi.engineGenerateCertPath
(List<? extends Certificate> certificates) Generates aCertPath
object and initializes it with aList
ofCertificate
s.final CertPath
CertificateFactory.generateCertPath
(List<? extends Certificate> certificates) Generates aCertPath
object and initializes it with aList
ofCertificate
s.void
PKIXParameters.setCertPathCheckers
(List<PKIXCertPathChecker> checkers) Sets aList
of additional certification path checkers.void
PKIXParameters.setCertStores
(List<CertStore> stores) Sets the list ofCertStore
s to be used in finding certificates and CRLs.void
PKIXRevocationChecker.setOcspExtensions
(List<Extension> extensions) Sets the optional OCSP request extensions.Modifier and TypeMethodDescriptionvoid
X509CertSelector.setPathToNames
(Collection<List<?>> names) Sets the pathToNames criterion.void
X509CertSelector.setSubjectAlternativeNames
(Collection<List<?>> names) Sets the subjectAlternativeNames criterion. -
Uses of List in java.time
-
Uses of List in java.time.chrono
-
Uses of List in java.time.temporal
Modifier and TypeMethodDescriptionTemporalAmount.getUnits()
Returns the list of units uniquely defining the value of this TemporalAmount. -
Uses of List in java.time.zone
Modifier and TypeMethodDescriptionZoneRules.getTransitionRules()
Gets the list of transition rules for years beyond those defined in the transition list.ZoneRules.getTransitions()
Gets the complete list of fully defined transitions.ZoneRules.getValidOffsets
(LocalDateTime localDateTime) Gets the offset applicable at the specified local date-time in these rules.Modifier and TypeMethodDescriptionstatic ZoneRules
ZoneRules.of
(ZoneOffset baseStandardOffset, ZoneOffset baseWallOffset, List<ZoneOffsetTransition> standardOffsetTransitionList, List<ZoneOffsetTransition> transitionList, List<ZoneOffsetTransitionRule> lastRules) Obtains an instance of a ZoneRules. -
Uses of List in java.util
Modifier and TypeClassDescriptionclass
AbstractList<E>
This class provides a skeletal implementation of theList
interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).class
This class provides a skeletal implementation of theList
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 theList
interface.class
LinkedList<E>
Doubly-linked list implementation of theList
andDeque
interfaces.class
Stack<E>
TheStack
class represents a last-in-first-out (LIFO) stack of objects.class
Vector<E>
TheVector
class implements a growable array of objects.Modifier and TypeFieldDescriptionstatic final List
Collections.EMPTY_LIST
The empty list (immutable).ResourceBundle.Control.FORMAT_CLASS
The class-only formatList
containing"java.class"
.ResourceBundle.Control.FORMAT_DEFAULT
The default formatList
, which contains the strings"java.class"
and"java.properties"
, in this order.ResourceBundle.Control.FORMAT_PROPERTIES
The properties-only formatList
containing"java.properties"
.Modifier and TypeMethodDescriptionstatic <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 <E> List<E>
List.copyOf
(Collection<? extends E> coll) Returns an unmodifiable List containing the elements of the given Collection, in its iteration order.static final <T> List<T>
Collections.emptyList()
Returns an empty list (immutable).Locale.filter
(List<Locale.LanguageRange> priorityList, Collection<Locale> locales) Returns a list of matchingLocale
instances using the filtering mechanism defined in RFC 4647.Locale.filter
(List<Locale.LanguageRange> priorityList, Collection<Locale> locales, Locale.FilteringMode mode) Returns a list of matchingLocale
instances using the filtering mechanism defined in RFC 4647.Locale.filterTags
(List<Locale.LanguageRange> priorityList, Collection<String> tags) Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.Locale.filterTags
(List<Locale.LanguageRange> priorityList, Collection<String> tags, Locale.FilteringMode mode) Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.ResourceBundle.Control.getCandidateLocales
(String baseName, Locale locale) Returns aList
ofLocale
s as candidate locales forbaseName
andlocale
.ResourceBundle.Control.getFormats
(String baseName) Returns aList
ofString
s containing formats to be used to load resource bundles for the givenbaseName
.static List<Locale.LanguageRange>
Locale.LanguageRange.mapEquivalents
(List<Locale.LanguageRange> priorityList, Map<String, List<String>> map) Generates a new customized Language Priority List using the givenpriorityList
andmap
.static <T> List<T>
Collections.nCopies
(int n, T o) Returns an immutable list consisting ofn
copies of the specified object.static <E> List<E>
List.of()
Returns an unmodifiable list containing zero elements.static <E> List<E>
List.of
(E e1) Returns an unmodifiable list containing one element.static <E> List<E>
List.of
(E... elements) Returns an unmodifiable list containing an arbitrary number of elements.static <E> List<E>
List.of
(E e1, E e2) Returns an unmodifiable list containing two elements.static <E> List<E>
List.of
(E e1, E e2, E e3) Returns an unmodifiable list containing three elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4) Returns an unmodifiable list containing four elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5) Returns an unmodifiable list containing five elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5, E e6) Returns an unmodifiable list containing six elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7) Returns an unmodifiable list containing seven elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8) Returns an unmodifiable list containing eight elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9) Returns an unmodifiable list containing nine elements.static <E> List<E>
List.of
(E e1, E e2, E e3, E e4, E e5, E e6, E e7, E e8, E e9, E e10) Returns an unmodifiable list containing ten elements.static List<Locale.LanguageRange>
Parses the givenranges
to generate a Language Priority List.static List<Locale.LanguageRange>
Parses the givenranges
to generate a Language Priority List, and then customizes the list using the givenmap
.static <T> List<T>
Collections.singletonList
(T o) Returns an immutable list containing only the specified object.AbstractList.subList
(int fromIndex, int toIndex) Returns a view of the portion of this list between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive.ArrayList.subList
(int fromIndex, int toIndex) Returns a view of the portion of this list between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive.List.subList
(int fromIndex, int toIndex) Returns a view of the portion of this list between the specifiedfromIndex
, inclusive, andtoIndex
, exclusive.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.Modifier and TypeMethodDescriptionstatic <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
Copies all of the elements from one list into another.static <T> void
Replaces all of the elements of the specified list with the specified element.Locale.filter
(List<Locale.LanguageRange> priorityList, Collection<Locale> locales) Returns a list of matchingLocale
instances using the filtering mechanism defined in RFC 4647.Locale.filter
(List<Locale.LanguageRange> priorityList, Collection<Locale> locales, Locale.FilteringMode mode) Returns a list of matchingLocale
instances using the filtering mechanism defined in RFC 4647.Locale.filterTags
(List<Locale.LanguageRange> priorityList, Collection<String> tags) Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.Locale.filterTags
(List<Locale.LanguageRange> priorityList, Collection<String> tags, Locale.FilteringMode mode) Returns a list of matching languages tags using the basic filtering mechanism defined in RFC 4647.static final ResourceBundle.Control
ResourceBundle.Control.getControl
(List<String> formats) static final ResourceBundle.Control
ResourceBundle.Control.getNoFallbackControl
(List<String> formats) Returns aResourceBundle.Control
in which thegetFormats
method returns the specifiedformats
and thegetFallbackLocale
method returnsnull
.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 Locale
Locale.lookup
(List<Locale.LanguageRange> priorityList, Collection<Locale> locales) Returns aLocale
instance for the best-matching language tag using the lookup mechanism defined in RFC 4647.static String
Locale.lookupTag
(List<Locale.LanguageRange> priorityList, Collection<String> tags) Returns the best-matching language tag using the lookup mechanism defined in RFC 4647.static List<Locale.LanguageRange>
Locale.LanguageRange.mapEquivalents
(List<Locale.LanguageRange> priorityList, Map<String, List<String>> map) Generates a new customized Language Priority List using the givenpriorityList
andmap
.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
Reverses the order of the elements in the specified list.static void
Rotates the elements in the specified list by the specified distance.static void
Randomly permutes the specified list using a default source of randomness.static void
Randomly permute the specified list using the specified source of randomness.static void
Collections.shuffle
(List<?> list, RandomGenerator rnd) Randomly permute the specified list using the specified source of randomness.static <T extends Comparable<? super T>>
voidSorts 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
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.Modifier and TypeMethodDescriptionstatic List<Locale.LanguageRange>
Locale.LanguageRange.mapEquivalents
(List<Locale.LanguageRange> priorityList, Map<String, List<String>> map) Generates a new customized Language Priority List using the givenpriorityList
andmap
.static List<Locale.LanguageRange>
Parses the givenranges
to generate a Language Priority List, and then customizes the list using the givenmap
. -
Uses of List in java.util.concurrent
Modifier and TypeClassDescriptionclass
A thread-safe variant ofArrayList
in which all mutative operations (add
,set
, and so on) are implemented by making a fresh copy of the underlying array.Modifier and TypeMethodDescriptionList<Flow.Subscriber<? super T>>
SubmissionPublisher.getSubscribers()
Returns a list of current subscribers for monitoring and tracking purposes, not for invokingFlow.Subscriber
methods on the subscribers.AbstractExecutorService.invokeAll
(Collection<? extends Callable<T>> tasks) AbstractExecutorService.invokeAll
(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) ExecutorService.invokeAll
(Collection<? extends Callable<T>> tasks) Executes the given tasks, returning a list of Futures holding their status and results when all complete.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.ForkJoinPool.invokeAll
(Collection<? extends Callable<T>> tasks) ForkJoinPool.invokeAll
(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) 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.ForkJoinPool.shutdownNow()
Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.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.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.CopyOnWriteArrayList.subList
(int fromIndex, int toIndex) Returns a view of the portion of this list betweenfromIndex
, inclusive, andtoIndex
, exclusive. -
Uses of List in java.util.logging
Modifier and TypeMethodDescriptionLoggingMXBean.getLoggerNames()
Deprecated.Returns the list of currently registered logger names. -
Uses of List in java.util.stream
Modifier and TypeMethodDescriptionStream.toList()
Accumulates the elements of this stream into aList
.Modifier and TypeMethodDescriptionCollectors.groupingBy
(Function<? super T, ? extends K> classifier) Returns aCollector
implementing a "group by" operation on input elements of typeT
, grouping elements according to a classification function, and returning the results in aMap
.static <T,
K> Collector<T, ?, ConcurrentMap<K, List<T>>> Collectors.groupingByConcurrent
(Function<? super T, ? extends K> classifier) Returns a concurrentCollector
implementing a "group by" operation on input elements of typeT
, grouping elements according to a classification function.Collectors.partitioningBy
(Predicate<? super T> predicate) Returns aCollector
which partitions the input elements according to aPredicate
, and organizes them into aMap<Boolean, List<T>>
.Collectors.toList()
Returns aCollector
that accumulates the input elements into a newList
.Collectors.toUnmodifiableList()
Returns aCollector
that accumulates the input elements into an unmodifiable List in encounter order. -
Uses of List in javax.imageio
Modifier and TypeFieldDescriptionprotected List<IIOReadProgressListener>
ImageReader.progressListeners
AList
of currently registeredIIOReadProgressListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protected List<IIOWriteProgressListener>
ImageWriter.progressListeners
AList
of currently registeredIIOWriteProgressListener
s, initialized by defaultnull
, which is synonymous with an emptyList
.protected List<? extends BufferedImage>
IIOImage.thumbnails
AList
ofBufferedImage
thumbnails, ornull
.protected List<IIOReadUpdateListener>
ImageReader.updateListeners
AList
of currently registeredIIOReadUpdateListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protected List<IIOReadWarningListener>
ImageReader.warningListeners
AList
of currently registeredIIOReadWarningListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protected List<IIOWriteWarningListener>
ImageWriter.warningListeners
AList
of currently registeredIIOWriteWarningListener
s, initialized by default tonull
, which is synonymous with an emptyList
.ImageReader.warningLocales
AList
of theLocale
s associated with each currently registeredIIOReadWarningListener
, initialized by default tonull
, which is synonymous with an emptyList
.ImageWriter.warningLocales
AList
ofLocale
s, one for each element ofwarningListeners
, initialized by defaultnull
, which is synonymous with an emptyList
.Modifier and TypeMethodDescriptionList<? extends BufferedImage>
IIOImage.getThumbnails()
Returns the currentList
of thumbnailBufferedImage
s, ornull
if none is set.Modifier and TypeMethodDescriptionvoid
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 newList
ofBufferedImage
s, or tonull
.ModifierConstructorDescriptionIIOImage
(Raster raster, List<? extends BufferedImage> thumbnails, IIOMetadata metadata) Constructs anIIOImage
containing aRaster
, and thumbnails and metadata associated with it.IIOImage
(RenderedImage image, List<? extends BufferedImage> thumbnails, IIOMetadata metadata) Constructs anIIOImage
containing aRenderedImage
, and thumbnails and metadata associated with it. -
Uses of List in javax.imageio.metadata
Modifier and TypeMethodDescriptionprotected 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 anObject
reference of a given class type to be stored in nodes implementing the named element. -
Uses of List in javax.imageio.plugins.tiff
Modifier and TypeMethodDescriptionTIFFImageReadParam.getAllowedTagSets()
Returns aList
containing the allowedTIFFTagSet
objects.ModifierConstructorDescriptionTIFFTagSet
(List<TIFFTag> tags) Constructs aTIFFTagSet
, given aList
ofTIFFTag
objects. -
Uses of List in javax.lang.model
Modifier and TypeMethodDescriptionList<? extends AnnotationMirror>
AnnotatedConstruct.getAnnotationMirrors()
Returns the annotations that are directly present on this construct. -
Uses of List in javax.lang.model.element
Modifier and TypeMethodDescriptionList<? extends AnnotationMirror>
Element.getAnnotationMirrors()
Returns the annotations that are directly present on this construct.List<? extends TypeMirror>
TypeParameterElement.getBounds()
Returns the bounds of this type parameter.List<? extends ModuleElement.Directive>
ModuleElement.getDirectives()
Returns the directives contained in the declaration of this module.Element.getEnclosedElements()
Returns the elements that are, loosely speaking, directly enclosed by this element.ModuleElement.getEnclosedElements()
Returns the packages within this module.PackageElement.getEnclosedElements()
Returns the top-level classes and interfaces within this package.TypeElement.getEnclosedElements()
Returns the fields, methods, constructors, record components, and member classes and interfaces that are directly declared in this class or interface.List<? extends TypeElement>
ModuleElement.ProvidesDirective.getImplementations()
Returns the implementations of the service being provided.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.default List<? extends TypeMirror>
TypeElement.getPermittedSubclasses()
Returns the permitted classes of this class or interface element in declaration order.default List<? extends RecordComponentElement>
TypeElement.getRecordComponents()
Returns the record components of this class or interface element in declaration order.List<? extends ModuleElement>
ModuleElement.ExportsDirective.getTargetModules()
Returns the specific modules to which the package is being exported, ornull
, if the package is exported to all modules which have readability to this module.List<? extends ModuleElement>
ModuleElement.OpensDirective.getTargetModules()
Returns the specific modules to which the package is being open ornull
, if the package is open all modules which have readability to this module.List<? extends TypeMirror>
ExecutableElement.getThrownTypes()
Returns the exceptions and other throwables listed in this method or constructor'sthrows
clause in declaration order.List<? extends TypeParameterElement>
ExecutableElement.getTypeParameters()
Returns the formal type parameters of this executable in declaration order.List<? extends TypeParameterElement>
Parameterizable.getTypeParameters()
Returns the formal type parameters of an element in declaration order.List<? extends TypeParameterElement>
TypeElement.getTypeParameters()
Returns the formal type parameters of this class or interface element in declaration order.Modifier and TypeMethodDescriptionAnnotationValueVisitor.visitArray
(List<? extends AnnotationValue> vals, P p) Visits an array value in an annotation. -
Uses of List in javax.lang.model.type
Modifier and TypeMethodDescriptionList<? extends TypeMirror>
UnionType.getAlternatives()
Returns the alternatives comprising this union type.List<? extends AnnotationMirror>
TypeMirror.getAnnotationMirrors()
Returns the annotations that are directly present on this construct.List<? extends TypeMirror>
IntersectionType.getBounds()
Returns the bounds comprising this intersection type.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'sthrows
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.ModifierConstructorDescriptionMirroredTypesException
(List<? extends TypeMirror> types) Constructs a new MirroredTypesException for the specified types. -
Uses of List in javax.lang.model.util
Modifier and TypeMethodDescriptionstatic List<ExecutableElement>
ElementFilter.constructorsIn
(Iterable<? extends Element> elements) Returns a list of constructors inelements
.List<? extends TypeMirror>
Types.directSupertypes
(TypeMirror t) Returns the direct supertypes of a type.static List<ModuleElement.ExportsDirective>
ElementFilter.exportsIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofexports
directives indirectives
.static List<VariableElement>
Returns a list of fields inelements
.List<? extends AnnotationMirror>
Elements.getAllAnnotationMirrors
(Element e) Returns all annotations present on an element, whether directly present or present via inheritance.Elements.getAllMembers
(TypeElement type) Returns all members of a type element, whether inherited or declared directly.static List<ExecutableElement>
Returns a list of methods inelements
.static List<ModuleElement>
Returns a list of modules inelements
.static List<ModuleElement.OpensDirective>
ElementFilter.opensIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofopens
directives indirectives
.static List<PackageElement>
ElementFilter.packagesIn
(Iterable<? extends Element> elements) Returns a list of packages inelements
.static List<ModuleElement.ProvidesDirective>
ElementFilter.providesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofprovides
directives indirectives
.static List<RecordComponentElement>
ElementFilter.recordComponentsIn
(Iterable<? extends Element> elements) Returns a list of record components inelements
.static List<ModuleElement.RequiresDirective>
ElementFilter.requiresIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofrequires
directives indirectives
.static List<TypeElement>
Returns a list of classes and interfaces inelements
.static List<ModuleElement.UsesDirective>
ElementFilter.usesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofuses
directives indirectives
.Modifier and TypeMethodDescriptionSimpleAnnotationValueVisitor6.visitArray
(List<? extends AnnotationValue> vals, P p) Visits an array value in an annotation. -
Uses of List in javax.management
Modifier and TypeClassDescriptionclass
Represents a list of values for attributes of an MBean.Modifier and TypeMethodDescriptionAttributeList.asList()
Return a view of this list as aList<Attribute>
.ModifierConstructorDescriptionAttributeList
(List<Attribute> list) Constructs anAttributeList
containing the elements of theList
specified, in the order in which they are returned by theList
's iterator. -
Uses of List in javax.management.loading
Modifier and TypeMethodDescriptionMLetContent.getParameterTypes()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the list of values of theTYPE
attribute in each nested <PARAM> tag within theMLET
tag.MLetContent.getParameterValues()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the list of values of theVALUE
attribute in each nested <PARAM> tag within theMLET
tag.ModifierConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Creates anMLet
instance initialized with attributes read from anMLET
tag in an MLet text file. -
Uses of List in javax.management.openmbean
Modifier and TypeFieldDescriptionOpenType.ALLOWED_CLASSNAMES_LIST
List of the fully qualified names of the Java classes allowed for open data values.Modifier and TypeMethodDescriptionTabularType.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 thisTabularType
instance. -
Uses of List in javax.management.relation
Modifier and TypeClassDescriptionclass
A RoleList represents a list of roles (Role objects).class
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.Modifier and TypeMethodDescriptionRoleList.asList()
Return a view of this list as aList<Role>
.RoleUnresolvedList.asList()
Return a view of this list as aList<RoleUnresolved>
.RelationService.findRelationsOfType
(String relationTypeName) Returns the relation ids for relations of the given type.RelationServiceMBean.findRelationsOfType
(String relationTypeName) Returns the relation ids for relations of the given type.RelationService.getAllRelationIds()
Returns all the relation ids for all the relations handled by the Relation Service.RelationServiceMBean.getAllRelationIds()
Returns all the relation ids for all the relations handled by the Relation Service.RelationService.getAllRelationTypeNames()
Retrieves names of all known relation types.RelationServiceMBean.getAllRelationTypeNames()
Retrieves names of all known relation types.RelationNotification.getMBeansToUnregister()
Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).RelationNotification.getNewRoleValue()
Returns new value of updated role (only for role update).RelationNotification.getOldRoleValue()
Returns old value of updated role (only for role update).Retrieves role value for given role name.Retrieves role value for given role name in given relation.Retrieves role value for given role name in given relation.Retrieves role value for given role name.RelationService.getRoleInfos
(String relationTypeName) Retrieves list of role infos (RoleInfo objects) of a given relation type.RelationServiceMBean.getRoleInfos
(String relationTypeName) Retrieves list of role infos (RoleInfo objects) of a given relation type.RelationType.getRoleInfos()
Returns the list of role definitions (ArrayList of RoleInfo objects).RelationTypeSupport.getRoleInfos()
Returns the list of role definitions (ArrayList of RoleInfo objects).Role.getRoleValue()
Retrieves role value.RoleUnresolved.getRoleValue()
Retrieves role value.Modifier and TypeMethodDescriptionRelationService.findAssociatedMBeans
(ObjectName mbeanName, String relationTypeName, String roleName) Retrieves the MBeans associated to given one in a relation.RelationServiceMBean.findAssociatedMBeans
(ObjectName mbeanName, String relationTypeName, String roleName) Retrieves the MBeans associated to given one in a relation.RelationService.findReferencingRelations
(ObjectName mbeanName, String relationTypeName, String roleName) Retrieves the relations where a given MBean is referenced.RelationServiceMBean.findReferencingRelations
(ObjectName mbeanName, String relationTypeName, String roleName) Retrieves the relations where a given MBean is referenced.Relation.getReferencedMBeans()
Retrieves MBeans referenced in the various roles of the relation.RelationService.getReferencedMBeans
(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationServiceMBean.getReferencedMBeans
(String relationId) Retrieves MBeans referenced in the various roles of the relation.RelationSupport.getReferencedMBeans()
Retrieves MBeans referenced in the various roles of the relation.Modifier and TypeMethodDescriptionstatic String
Role.roleValueToString
(List<ObjectName> roleValue) Returns a string for the given role value.void
RelationService.sendRelationRemovalNotification
(String relationId, List<ObjectName> unregMBeanList) Sends a notification (RelationNotification) for a relation removal.void
RelationServiceMBean.sendRelationRemovalNotification
(String relationId, List<ObjectName> unregMBeanList) Sends a notification (RelationNotification) for a relation removal.void
RelationService.sendRoleUpdateNotification
(String relationId, Role newRole, List<ObjectName> oldValue) Sends a notification (RelationNotification) for a role update in the given relation.void
RelationServiceMBean.sendRoleUpdateNotification
(String relationId, Role newRole, List<ObjectName> oldRoleValue) Sends a notification (RelationNotification) for a role update in the given relation.void
Role.setRoleValue
(List<ObjectName> roleValue) Sets role value.void
RoleUnresolved.setRoleValue
(List<ObjectName> value) Sets role value.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.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.ModifierConstructorDescriptionRelationNotification
(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, 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.Role
(String roleName, List<ObjectName> roleValue) Make a new Role object.Constructs aRoleList
containing the elements of theList
specified, in the order in which they are returned by theList
's iterator.RoleUnresolved
(String name, List<ObjectName> value, int pbType) Constructor.RoleUnresolvedList
(List<RoleUnresolved> list) Constructs aRoleUnresolvedList
containing the elements of theList
specified, in the order in which they are returned by theList
's iterator. -
Uses of List in javax.naming.ldap
Modifier and TypeMethodDescriptionLdapName.getRdns()
Retrieves the list of relative distinguished names.Modifier and TypeMethodDescriptionAdds the RDNs of a name -- in order -- at a specified position within this name.Adds the RDNs of a name -- in order -- to the end of this name.boolean
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. -
Uses of List in javax.naming.ldap.spi
Modifier and TypeMethodDescriptionLdapDnsProviderResult.getEndpoints()
Returns the possibly empty list of individual server endpoints resolved from the LDAP URL.ModifierConstructorDescriptionLdapDnsProviderResult
(String domainName, List<String> endpoints) Construct an LdapDnsProviderResult consisting of a resolved domain name and the LDAP server endpoints that serve the domain. -
Uses of List in javax.net.ssl
Modifier and TypeMethodDescriptionKeyStoreBuilderParameters.getParameters()
Return the unmodifiable List of the KeyStore.Builders encapsulated by this object.ExtendedSSLSession.getRequestedServerNames()
Obtains aList
containing allSNIServerName
s of the requested Server Name Indication (SNI) extension.final List<SNIServerName>
SSLParameters.getServerNames()
Returns aList
containing allSNIServerName
s of the Server Name Indication (SNI) parameter, or null if none has been set.List<byte[]>
ExtendedSSLSession.getStatusResponses()
Returns aList
containing DER-encoded OCSP responses (using the ASN.1 type OCSPResponse defined in RFC 6960) for the client to verify status of the server's certificate during handshaking.Modifier and TypeMethodDescriptionSSLEngine.getHandshakeApplicationProtocolSelector()
Retrieves the callback function that selects an application protocol value during a SSL/TLS/DTLS handshake.SSLSocket.getHandshakeApplicationProtocolSelector()
Retrieves the callback function that selects an application protocol value during a SSL/TLS/DTLS handshake.Modifier and TypeMethodDescriptionfinal void
SSLParameters.setServerNames
(List<SNIServerName> serverNames) Sets the desiredSNIServerName
s of the Server Name Indication (SNI) parameter.Modifier and TypeMethodDescriptionvoid
SSLEngine.setHandshakeApplicationProtocolSelector
(BiFunction<SSLEngine, List<String>, String> selector) Registers a callback function that selects an application protocol value for a SSL/TLS/DTLS handshake.void
SSLSocket.setHandshakeApplicationProtocolSelector
(BiFunction<SSLSocket, List<String>, String> selector) Registers a callback function that selects an application protocol value for a SSL/TLS/DTLS handshake.ModifierConstructorDescriptionKeyStoreBuilderParameters
(List<KeyStore.Builder> parameters) Construct new KeyStoreBuilderParameters from a List of KeyStore.Builders. -
Uses of List in javax.script
Modifier and TypeMethodDescriptionScriptEngineManager.getEngineFactories()
Returns a list whose elements are instances of all theScriptEngineFactory
classes found by the discovery mechanism.ScriptEngineFactory.getExtensions()
Returns an immutable list of filename extensions, which generally identify scripts written in the language supported by thisScriptEngine
.ScriptEngineFactory.getMimeTypes()
Returns an immutable list of mimetypes, associated with scripts that can be executed by the engine.ScriptEngineFactory.getNames()
Returns an immutable list of short names for theScriptEngine
, which may be used to identify theScriptEngine
by theScriptEngineManager
.ScriptContext.getScopes()
Returns immutableList
of all the valid values for scope in the ScriptContext.SimpleScriptContext.getScopes()
Returns immutableList
of all the valid values for scope in the ScriptContext. -
Uses of List in javax.sound.midi
Modifier and TypeMethodDescriptionMidiDevice.getReceivers()
Returns all currently active, non-closed receivers connected with thisMidiDevice
.MidiDevice.getTransmitters()
Returns all currently active, non-closed transmitters connected with thisMidiDevice
. -
Uses of List in javax.swing
Modifier and TypeMethodDescriptionList<?>
SpinnerListModel.getList()
Returns theList
that defines the sequence for this model.JList.getSelectedValuesList()
Returns a list of all the selected items, in increasing order based on their indices in the list.List<? extends RowSorter.SortKey>
DefaultRowSorter.getSortKeys()
Returns the current sort keys.abstract List<? extends RowSorter.SortKey>
RowSorter.getSortKeys()
Returns the current sort keys.Modifier and TypeMethodDescriptionprotected void
Receives data chunks from thepublish
method asynchronously on the Event Dispatch Thread.void
Changes the list that defines this sequence and resets the index of the modelsvalue
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.ModifierConstructorDescriptionSpinnerListModel
(List<?> values) Constructs aSpinnerModel
whose sequence of values is defined by the specifiedList
. -
Uses of List in javax.tools
Modifier and TypeMethodDescriptionList<Diagnostic<? extends S>>
DiagnosticCollector.getDiagnostics()
Returns a list view of diagnostics collected by this object. -
Uses of List in javax.xml.crypto.dsig
Modifier and TypeMethodDescriptionSignatureProperty.getContent()
Returns anunmodifiable list
of one or moreXMLStructure
s that are contained in thisSignatureProperty
.XMLObject.getContent()
Returns anunmodifiable list
ofXMLStructure
s contained in thisXMLObject
, which represent elements from any namespace.XMLSignature.getObjects()
SignatureProperties.getProperties()
Returns anunmodifiable list
of one or moreSignatureProperty
s that are contained in thisSignatureProperties
.Manifest.getReferences()
SignedInfo.getReferences()
Returns anunmodifiable list
of one or moreReference
s.Reference.getTransforms()
Modifier and TypeMethodDescriptionabstract Manifest
XMLSignatureFactory.newManifest
(List<? extends Reference> references) Creates aManifest
containing the specified list ofReference
s.abstract Manifest
XMLSignatureFactory.newManifest
(List<? extends Reference> references, String id) Creates aManifest
containing the specified list ofReference
s and optional id.abstract Reference
XMLSignatureFactory.newReference
(String uri, DigestMethod dm, List<? extends Transform> transforms, String type, String id) Creates aReference
with the specified parameters.abstract Reference
XMLSignatureFactory.newReference
(String uri, DigestMethod dm, List<? extends Transform> transforms, String type, String id, byte[] digestValue) Creates aReference
with the specified parameters and pre-calculated digest value.abstract Reference
XMLSignatureFactory.newReference
(String uri, DigestMethod dm, List<? extends Transform> appliedTransforms, Data result, List<? extends Transform> transforms, String type, String id) Creates aReference
with the specified parameters.abstract SignatureProperties
XMLSignatureFactory.newSignatureProperties
(List<? extends SignatureProperty> properties, String id) Creates aSignatureProperties
containing the specified list ofSignatureProperty
s and optional id.abstract SignatureProperty
XMLSignatureFactory.newSignatureProperty
(List<? extends XMLStructure> content, String target, String id) Creates aSignatureProperty
containing the specified list ofXMLStructure
s, target URI and optional id.abstract SignedInfo
XMLSignatureFactory.newSignedInfo
(CanonicalizationMethod cm, SignatureMethod sm, List<? extends Reference> references) Creates aSignedInfo
with the specified canonicalization and signature methods, and list of one or more references.abstract SignedInfo
XMLSignatureFactory.newSignedInfo
(CanonicalizationMethod cm, SignatureMethod sm, List<? extends Reference> references, String id) Creates aSignedInfo
with the specified parameters.abstract XMLObject
XMLSignatureFactory.newXMLObject
(List<? extends XMLStructure> content, String id, String mimeType, String encoding) Creates anXMLObject
from the specified parameters.abstract XMLSignature
XMLSignatureFactory.newXMLSignature
(SignedInfo si, KeyInfo ki, List<? extends XMLObject> objects, String id, String signatureValueId) Creates anXMLSignature
and initializes it with the specified parameters. -
Uses of List in javax.xml.crypto.dsig.keyinfo
Modifier and TypeMethodDescriptionKeyInfo.getContent()
Returns anunmodifiable list
containing the key information.List<?>
X509Data.getContent()
Returns anunmodifiable list
of the content in thisX509Data
.PGPData.getExternalElements()
Returns anunmodifiable list
ofXMLStructure
s representing elements from an external namespace.RetrievalMethod.getTransforms()
Modifier and TypeMethodDescriptionabstract KeyInfo
KeyInfoFactory.newKeyInfo
(List<? extends XMLStructure> content) Creates aKeyInfo
containing the specified list of key information types.abstract KeyInfo
KeyInfoFactory.newKeyInfo
(List<? extends XMLStructure> content, String id) Creates aKeyInfo
containing the specified list of key information types and optional id.abstract PGPData
KeyInfoFactory.newPGPData
(byte[] keyId, byte[] keyPacket, List<? extends XMLStructure> other) Creates aPGPData
from the specified PGP public key identifier, and optional key material packet and list of external elements.abstract PGPData
KeyInfoFactory.newPGPData
(byte[] keyPacket, List<? extends XMLStructure> other) Creates aPGPData
from the specified PGP key material packet and optional list of external elements.abstract RetrievalMethod
KeyInfoFactory.newRetrievalMethod
(String uri, String type, List<? extends Transform> transforms) Creates aRetrievalMethod
from the specified parameters.abstract X509Data
KeyInfoFactory.newX509Data
(List<?> content) Creates aX509Data
containing the specified list of X.509 content. -
Uses of List in javax.xml.crypto.dsig.spec
Modifier and TypeMethodDescriptionExcC14NParameterSpec.getPrefixList()
Returns the inclusive namespace prefix list.XPathFilter2ParameterSpec.getXPathList()
Returns a list of one or moreXPathType
objects.ModifierConstructorDescriptionExcC14NParameterSpec
(List<String> prefixList) Creates aExcC14NParameterSpec
with the specified list of prefixes.XPathFilter2ParameterSpec
(List<XPathType> xPathList) Creates anXPathFilter2ParameterSpec
. -
Uses of List in javax.xml.stream.events
Modifier and TypeMethodDescriptionDTD.getEntities()
Return a List containing the general entities, both external and internal, declared in the DTD.DTD.getNotations()
Return a List containing the notations declared in the DTD. -
Uses of List in javax.xml.xpath