Uses of Interface
java.util.List
Packages that useList
Package
Description
This is the core package of the Java Debug Interface (JDI), it defines mirrors for values, types, and the target VirtualMachine itself - as well bootstrapping facilities.
This package defines connections between the virtual machine using the JDI and the target virtual machine.
This package is used to request that a JDI event be sent under specified conditions.
This package contains JDK extensions to the standard implementation of the
java.lang.management
API and also defines the management interface for some other components of the platform.Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
Provides interfaces to represent documentation comments as abstract syntax trees (AST).
Provides interfaces to represent source code as abstract syntax trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Provides the API to attach to a Java virtual machine.
Only developers who are defining new attach providers should need to make direct use of this package.
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.
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class
file attributes for thejava.lang.classfile
library.Provides interfaces describing constant pool entries for the
java.lang.classfile
library.Provides interfaces describing code instructions for the
java.lang.classfile
library.Classes and interfaces to representnominal 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.
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
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.
Provides classes and interfaces for key specifications and algorithm parameter specifications.
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 reflective API that models 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 ofprogram elements andtypes.
Provides the core classes for the Java Management Extensions.
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 the Service Provider Interface for DNS lookups when performing LDAP operations.
Provides classes for the secure socket package.
The scripting API consists of interfaces and classes that defineJava Scripting Engines and providesa framework for their use in Java applications.
Java™ Smart Card I/O API.
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 anobject-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
Contains interfaces and classes that are used to link an
invokedynamic
call site. Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.
Contains classes that make it more convenient for language runtimes to implement their own language-specific object models and type conversions by providing basic implementations of some classes as well as various utilities.
The Doclet API provides an environment which, in conjunction with the Language Model API and Compiler Tree API, allows clients to inspect the source-level structures of programs and libraries, including API comments embedded in the source.
This package provides classes to create events and control Flight Recorder.
This package contains classes for consuming Flight Recorder data.
Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.
Provides implementation support for building JShell execution engines.
Defines the Service Provider Interface for pluggable JShell execution engines.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
Uses ofList incom.sun.jdi
Methods incom.sun.jdi that returnListModifier and TypeMethodDescriptionVirtualMachine.allClasses()
Returns allloaded types in the target VM.VirtualMachineManager.allConnectors()
Returns the list of all knownConnector
objects.ReferenceType.allFields()
Returns a list containing eachField
declared in this type, and its superclasses, implemented interfaces, and/or superinterfaces.ClassType.allInterfaces()
Gets the interfaces directly and indirectly implemented by this class.Method.allLineLocations()
Returns a list containing aLocation
object for each executable source line in this method.Method.allLineLocations
(String stratum,String sourceName) Returns a list containing aLocation
object for each executable source line in this method.ReferenceType.allLineLocations()
Returns a list containing aLocation
object for each executable source line in this reference type.ReferenceType.allLineLocations
(String stratum,String sourceName) Returns a list containing aLocation
object for each executable source line in this reference type.ReferenceType.allMethods()
Returns a list containing eachMethod
declared in this type, and its superclasses, implemented interfaces, and/or superinterfaces.defaultList
<ModuleReference> VirtualMachine.allModules()
Returns all modules.VirtualMachine.allThreads()
Returns a list of the live threads in the target VM.Method.arguments()
Returns a list containing eachLocalVariable
that is declared as an argument of this method.Method.argumentTypeNames()
Returns a list containing a text representation of the type of each formal parameter of this method.Method.argumentTypes()
Returns a list containing the type of each formal parameter of this method.VirtualMachineManager.attachingConnectors()
Returns the list of knownAttachingConnector
objects.ReferenceType.availableStrata()
Return the available strata for this reference type.PathSearchingVirtualMachine.bootClassPath()
Get the boot class path for this virtual machine.VirtualMachine.classesByName
(String className) Returns the loaded reference types that match a given name.PathSearchingVirtualMachine.classPath()
Get the class path for this virtual machine.VirtualMachineManager.connectedVirtualMachines()
Lists all target VMs which are connected to the debugger.ClassLoaderReference.definedClasses()
Returns a list of all classes defined by this class loader.ReferenceType.fields()
Returns a list containing eachField
declared in this type.ThreadReference.frames()
Returns a List containing eachStackFrame
in the thread's current call stack.ThreadReference.frames
(int start, int length) Returns a List containing a range ofStackFrame
mirrors from the thread's current call stack.StackFrame.getArgumentValues()
Returns the values of all arguments in this frame.ArrayReference.getValues()
Returns all of the components in this array.ArrayReference.getValues
(int index, int length) Returns a range of array components.InterfaceType.implementors()
Gets the currently prepared classes which directly implement this interface.ReferenceType.instances
(long maxInstances) Returns instances of this ReferenceType.ClassType.interfaces()
Gets the interfaces directly implemented by this class.VirtualMachineManager.launchingConnectors()
Returns the list of knownLaunchingConnector
objects.VirtualMachineManager.listeningConnectors()
Returns the list of knownListeningConnector
objects.Method.locationsOfLine
(int lineNumber) Returns a List containing allLocation
objects that map to the given line number.Method.locationsOfLine
(String stratum,String sourceName, int lineNumber) Returns a List containing allLocation
objects that map to the given line number and source name.ReferenceType.locationsOfLine
(int lineNumber) Returns a List containing allLocation
objects that map to the given line number.ReferenceType.locationsOfLine
(String stratum,String sourceName, int lineNumber) Returns a List containing allLocation
objects that map to the given line number.ReferenceType.methods()
Returns a list containing eachMethod
declared directly in this type.ReferenceType.methodsByName
(String name) Returns a List containing each visibleMethod
that has the given name.ReferenceType.methodsByName
(String name,String signature) Returns a List containing each visibleMethod
that has the given name and signature.ReferenceType.nestedTypes()
Returns a List containingReferenceType
objects that are declared within this type and are currently loaded into the Virtual Machine.ThreadReference.ownedMonitors()
Returns a List containing anObjectReference
for each monitor owned by the thread.ThreadReference.ownedMonitorsAndFrames()
Returns a List containing aMonitorInfo
object for each monitor owned by the thread.ObjectReference.referringObjects
(long maxReferrers) Returns objects that directly reference this object.ReferenceType.sourceNames
(String stratum) Gets the identifying names for all the source corresponding to the declaration of this type.ReferenceType.sourcePaths
(String stratum) Gets the paths to the source corresponding to the declaration of this type.ClassType.subclasses()
Gets the currently loaded, direct subclasses of this class.InterfaceType.subinterfaces()
Gets the currently prepared interfaces which directly extend this interface.InterfaceType.superinterfaces()
Gets the interfaces directly extended by this interface.ThreadGroupReference.threadGroups()
Returns a List containing aThreadGroupReference
for each subgroup.ThreadGroupReference.threads()
Returns a List containing aThreadReference
for each live platform thread in this thread group.VirtualMachine.topLevelThreadGroups()
Returns each thread group which does not have a parent.Method.variables()
Returns a list containing eachLocalVariable
declared in this method.Method.variablesByName
(String name) Returns a list containing eachLocalVariable
of a given name in this method.ClassLoaderReference.visibleClasses()
Returns a list of all classes which this class loader can find by name viaClassLoader::loadClass
,Class::forName
and bytecode linkage in the target VM.ReferenceType.visibleFields()
Returns a list containing each unhidden and unambiguousField
in this type.ReferenceType.visibleMethods()
Returns a list containing eachMethod
declared or inherited by this type.StackFrame.visibleVariables()
Returns a list containing eachLocalVariable
that can be accessed from this frame's location.ObjectReference.waitingThreads()
Returns a List containing aThreadReference
for each platform thread currently waiting for this object's monitor.Methods incom.sun.jdi with parameters of typeListModifier and TypeMethodDescriptionGets the value of multiple instance and/or static fields in this object.StackFrame.getValues
(List<? extendsLocalVariable> variables) Returns the values of multiple local variables in this frame.long[]
VirtualMachine.instanceCounts
(List<? extendsReferenceType> refTypes) Returns the number of instances of each ReferenceType in the 'refTypes' list.ClassType.invokeMethod
(ThreadReference thread,Method method,List<? extendsValue> arguments, int options) Invokes the specified staticMethod
in the target VM.defaultValue
InterfaceType.invokeMethod
(ThreadReference thread,Method method,List<? extendsValue> arguments, int options) Invokes the specified staticMethod
in the target VM.ObjectReference.invokeMethod
(ThreadReference thread,Method method,List<? extendsValue> arguments, int options) Invokes the specifiedMethod
on this object in the target VM.ClassType.newInstance
(ThreadReference thread,Method method,List<? extendsValue> arguments, int options) Constructs a new instance of this type, using the given constructorMethod
in the target VM.void
Replaces a range of array components with other values.void
Replaces all array components with other values.Uses ofList incom.sun.jdi.connect
Methods incom.sun.jdi.connect that returnListModifier and TypeMethodDescriptionIllegalConnectorArgumentsException.argumentNames()
Return aList
containing the names of the invalid or inconsistent arguments.Connector.SelectedArgument.choices()
Return the possible values for the argumentConstructors incom.sun.jdi.connect with parameters of typeListModifierConstructorDescriptionIllegalConnectorArgumentsException
(String s,List<String> names) Construct anIllegalConnectorArgumentsException
with the specified detail message and aList
of names of arguments which are invalid or inconsistent.Uses ofList incom.sun.jdi.request
Methods incom.sun.jdi.request that returnListModifier and TypeMethodDescriptionEventRequestManager.accessWatchpointRequests()
Return an unmodifiable list of the enabled and disabled access watchpoint requests.EventRequestManager.breakpointRequests()
Return an unmodifiable list of the enabled and disabled breakpoint requests.EventRequestManager.classPrepareRequests()
Return an unmodifiable list of the enabled and disabled class prepare requests.EventRequestManager.classUnloadRequests()
Return an unmodifiable list of the enabled and disabled class unload requests.EventRequestManager.exceptionRequests()
Return an unmodifiable list of the enabled and disabled exception requests.EventRequestManager.methodEntryRequests()
Return an unmodifiable list of the enabled and disabled method entry requests.EventRequestManager.methodExitRequests()
Return an unmodifiable list of the enabled and disabled method exit requests.EventRequestManager.modificationWatchpointRequests()
Return an unmodifiable list of the enabled and disabled modification watchpoint requests.EventRequestManager.monitorContendedEnteredRequests()
Return an unmodifiable list of the enabled and disabled monitor contended entered requests.EventRequestManager.monitorContendedEnterRequests()
Return an unmodifiable list of the enabled and disabled monitor contended enter requests.EventRequestManager.monitorWaitedRequests()
Return an unmodifiable list of the enabled and disabled monitor waited requests.EventRequestManager.monitorWaitRequests()
Return an unmodifiable list of the enabled and disabled monitor wait requests.EventRequestManager.stepRequests()
Return an unmodifiable list of the enabled and disabled step requests.EventRequestManager.threadDeathRequests()
Return an unmodifiable list of the enabled and disabled thread death requests.EventRequestManager.threadStartRequests()
Return an unmodifiable list of the enabled and disabled thread start requests.EventRequestManager.vmDeathRequests()
Return an unmodifiable list of the enabled and disabled VM death requests.Methods incom.sun.jdi.request with parameters of typeListModifier and TypeMethodDescriptionvoid
EventRequestManager.deleteEventRequests
(List<? extendsEventRequest> eventRequests) Removes a list ofEventRequest
s.Uses ofList incom.sun.management
Methods incom.sun.management that returnListModifier and TypeMethodDescriptionHotSpotDiagnosticMXBean.getDiagnosticOptions()
Returns a list ofVMOption
objects for all diagnostic options.Uses ofList incom.sun.net.httpserver
Classes incom.sun.net.httpserver that implement interfaces with type arguments of typeListModifier and TypeClassDescriptionclass
Methods incom.sun.net.httpserver that returnListMethods incom.sun.net.httpserver that return types with arguments of typeListMethods incom.sun.net.httpserver with parameters of typeListModifier and TypeMethodDescriptiondefaultRequest
Returns an identicalRequest
with an additional header.Method parameters incom.sun.net.httpserver with type arguments of typeListModifier and TypeMethodDescriptionstaticHeaders
Returns an immutableHeaders
from the givenheaders
with the same header names and values.void
Constructors incom.sun.net.httpserver with parameters of typeListModifierConstructorDescriptionChain
(List<Filter> filters,HttpHandler handler) Creates aChain
instance with given filters and handler.Constructor parameters incom.sun.net.httpserver with type arguments of typeListUses ofList incom.sun.source.doctree
Methods incom.sun.source.doctree that returnListModifier and TypeMethodDescriptionSnippetTree.getAttributes()
Returns the list of the attributes of the@snippet
tag.StartElementTree.getAttributes()
Returns any attributes defined by this element.DocCommentTree.getBlockTags()
Returns the block tags for a documentation comment.DeprecatedTree.getBody()
Returns the description explaining why an item is deprecated.DocCommentTree.getBody()
Returns the body of a documentation comment, appearing after the first sentence, and before any block tags.HiddenTree.getBody()
Returns the description explaining why an item is hidden.SinceTree.getBody()
Returns the text explaining the availability of the item being documented.VersionTree.getBody()
Returns the body of the tag.UnknownBlockTagTree.getContent()
Returns the content of an unrecognized block tag.UnknownInlineTagTree.getContent()
Returns the content of an unrecognized inline tag.IndexTree.getDescription()
Returns the description, if any.ParamTree.getDescription()
Returns the description of the parameter.ProvidesTree.getDescription()
Returns a description of the service type being provided by the module.ReturnTree.getDescription()
Returns the description of the return value of a method.SerialDataTree.getDescription()
Returns the description of the serial data.SerialFieldTree.getDescription()
Returns the description of the serial field.SerialTree.getDescription()
Returns the description of the field, or the word "include" or "exclude".ThrowsTree.getDescription()
Returns a description of the reasons why the exception may be thrown.UsesTree.getDescription()
Returns a description of the use of service type within the module.DocCommentTree.getFirstSentence()
Returns the first sentence of a documentation comment.DocCommentTree.getFullBody()
Returns the entire body of a documentation comment, appearing before any block tags, including the first sentence.LinkTree.getLabel()
Returns the label, if any, of the link.AuthorTree.getName()
Returns the name of the author.DocCommentTree.getPostamble()
Returns a list of trees containing the content (if any) following the content of the documentation comment.DocCommentTree.getPreamble()
Returns a list of trees containing the content (if any) preceding the content of the documentation comment.SeeTree.getReference()
Returns the reference.SummaryTree.getSummary()
Returns the summary or the first line of a comment.SpecTree.getTitle()
Returns the title.AttributeTree.getValue()
Uses ofList incom.sun.source.tree
Methods incom.sun.source.tree that returnListModifier and TypeMethodDescriptionList
<? extendsAnnotationTree> AnnotatedTypeTree.getAnnotations()
Returns the annotations associated with this type expression.List
<? extendsAnnotationTree> ModifiersTree.getAnnotations()
Returns the annotations in this modifiers tree.List
<? extendsAnnotationTree> ModuleTree.getAnnotations()
Returns the annotations associated with this module declaration.List
<? extendsAnnotationTree> NewArrayTree.getAnnotations()
Returns the annotations on the base type.List
<? extendsAnnotationTree> PackageTree.getAnnotations()
Returns the annotations associated with this package declaration.List
<? extendsAnnotationTree> TypeParameterTree.getAnnotations()
Returns annotations on the type parameter declaration.List
<? extendsExpressionTree> AnnotationTree.getArguments()
Returns the arguments, if any, for the annotation.List
<? extendsExpressionTree> MethodInvocationTree.getArguments()
Returns the arguments for the method invocation.List
<? extendsExpressionTree> NewClassTree.getArguments()
Returns the arguments for the constructor to be invoked.IntersectionTypeTree.getBounds()
Returns the bounds of the type.TypeParameterTree.getBounds()
Returns the bounds of the type parameter.SwitchExpressionTree.getCases()
Returns the cases for theswitch
expression.SwitchTree.getCases()
Returns the cases for theswitch
statement.TryTree.getCatches()
Returns any catch blocks provided in thetry
statement.List
<? extendsList<? extendsAnnotationTree>> NewArrayTree.getDimAnnotations()
Returns the annotations on each of the dimension expressions.List
<? extendsExpressionTree> NewArrayTree.getDimensions()
Returns the dimension expressions for the type.List
<? extendsDirectiveTree> ModuleTree.getDirectives()
Returns the directives in the module declaration.ErroneousTree.getErrorTrees()
Returns any trees that were saved in this node.List
<? extendsExpressionTree> CaseTree.getExpressions()
Returns the labels for this case.List
<? extendsExpressionTree> ProvidesTree.getImplementationNames()
Returns the names of the implementation types being provided.ClassTree.getImplementsClause()
Returns the interfaces implemented by this type declaration.List
<? extendsImportTree> CompilationUnitTree.getImports()
Returns the import declarations appearing in this compilation unit, or an empty list if there are no import declarations.List
<? extendsStatementTree> ForLoopTree.getInitializer()
Returns any initializers of thefor
statement.List
<? extendsExpressionTree> NewArrayTree.getInitializers()
Returns the initializer expressions.List
<? extendsCaseLabelTree> CaseTree.getLabels()
Returns the labels for this case.ClassTree.getMembers()
Returns the members declared in this type declaration.List
<? extendsExpressionTree> ExportsTree.getModuleNames()
Returns the names of the modules to which the package is exported, or null, if the package is exported to all modules.List
<? extendsExpressionTree> OpensTree.getModuleNames()
Returns the names of the modules to which the package is opened, or null, if the package is opened to all modules.List
<? extendsPatternTree> DeconstructionPatternTree.getNestedPatterns()
Returns the nested patterns.List
<? extendsAnnotationTree> CompilationUnitTree.getPackageAnnotations()
Returns the annotations listed on any package declaration at the head of this compilation unit, ornull
if there is no package declaration.List
<? extendsVariableTree> LambdaExpressionTree.getParameters()
Returns the parameters of this lambda expression.List
<? extendsVariableTree> MethodTree.getParameters()
Returns the parameters of the method being declared.ClassTree.getPermitsClause()
Returns the subclasses permitted by this type declaration.TryTree.getResources()
Returns any resource declarations provided in thetry
statement.List
<? extendsStatementTree> BlockTree.getStatements()
Returns the statements comprising this block.List
<? extendsStatementTree> CaseTree.getStatements()
For case with kindCaseTree.CaseKind.STATEMENT, returns the statements labeled by the case.List
<? extendsExpressionTree> MethodTree.getThrows()
Returns the exceptions listed as being thrown by this method.UnionTypeTree.getTypeAlternatives()
Returns the alternative type expressions.List
<? extendsExpressionTree> MemberReferenceTree.getTypeArguments()
Returns the type arguments for the reference.MethodInvocationTree.getTypeArguments()
Returns the type arguments for this method invocation.NewClassTree.getTypeArguments()
Returns the type arguments for the object being created.ParameterizedTypeTree.getTypeArguments()
Returns the type arguments.CompilationUnitTree.getTypeDecls()
Returns the type declarations appearing in this compilation unit, or an empty list if there are no type declarations.List
<? extendsTypeParameterTree> ClassTree.getTypeParameters()
Returns any type parameters of this type declaration.List
<? extendsTypeParameterTree> MethodTree.getTypeParameters()
Returns the type parameters of the method being declared.List
<? extendsExpressionStatementTree> ForLoopTree.getUpdate()
Returns any update expressions of thefor
statement.Methods incom.sun.source.tree that return types with arguments of typeListModifier and TypeMethodDescriptionList
<? extendsList<? extendsAnnotationTree>> NewArrayTree.getDimAnnotations()
Returns the annotations on each of the dimension expressions.Uses ofList incom.sun.source.util
Methods incom.sun.source.util that returnListModifier and TypeMethodDescriptionDocTreeFactory.getFirstSentence
(List<? extendsDocTree> list) Gets the first sentence contained in a list of content.DocTrees.getFirstSentence
(List<? extendsDocTree> list) Returns the list ofDocTree
representing the first sentence of a comment.Methods incom.sun.source.util with parameters of typeListModifier and TypeMethodDescriptionDocTreeFactory.getFirstSentence
(List<? extendsDocTree> list) Gets the first sentence contained in a list of content.DocTrees.getFirstSentence
(List<? extendsDocTree> list) Returns the list ofDocTree
representing the first sentence of a comment.DocTreeFactory.newAttributeTree
(Name name,AttributeTree.ValueKind vkind,List<? extendsDocTree> value) Creates a newAttributeTree
object, to represent an attribute in an HTML element or tag.DocTreeFactory.newAuthorTree
(List<? extendsDocTree> name) Creates a newAuthorTree
object, to represent an@author
tag.DocTreeFactory.newDeprecatedTree
(List<? extendsDocTree> text) Creates a newDeprecatedTree
object, to represent an@deprecated
tag.DocTreeFactory.newDocCommentTree
(List<? extendsDocTree> fullBody,List<? extendsDocTree> tags) Creates a newDocCommentTree
object, to represent a complete doc comment.DocTreeFactory.newDocCommentTree
(List<? extendsDocTree> fullBody,List<? extendsDocTree> tags,List<? extendsDocTree> preamble,List<? extendsDocTree> postamble) Creates a newDocCommentTree
object, to represent the entire doc comment.DocTreeFactory.newExceptionTree
(ReferenceTree name,List<? extendsDocTree> description) Creates a newThrowsTree
object, to represent an@exception
tag.DocTreeFactory.newHiddenTree
(List<? extendsDocTree> text) Creates a newHiddenTree
object, to represent an@hidden
tag.DocTreeFactory.newIndexTree
(DocTree term,List<? extendsDocTree> description) Creates a newIndexTree
object, to represent an{@index }
tag.DocTreeFactory.newLinkPlainTree
(ReferenceTree ref,List<? extendsDocTree> label) Creates a newLinkTree
object, to represent a{@linkplain }
tag.DocTreeFactory.newLinkTree
(ReferenceTree ref,List<? extendsDocTree> label) Creates a newLinkTree
object, to represent a{@link }
tag.DocTreeFactory.newParamTree
(boolean isTypeParameter,IdentifierTree name,List<? extendsDocTree> description) Creates a newParamTree
object, to represent a@param
tag.DocTreeFactory.newProvidesTree
(ReferenceTree name,List<? extendsDocTree> description) Creates a newProvidesTree
object, to represent a@provides
tag.defaultReturnTree
DocTreeFactory.newReturnTree
(boolean isInline,List<? extendsDocTree> description) Creates a newReturnTree
object, to represent a@return
tag or{@return}
tag.DocTreeFactory.newReturnTree
(List<? extendsDocTree> description) Creates a newReturnTree
object, to represent a@return
tag.DocTreeFactory.newSeeTree
(List<? extendsDocTree> reference) Creates a newSeeTree
object, to represent a@see
tag.DocTreeFactory.newSerialDataTree
(List<? extendsDocTree> description) Creates a newSerialDataTree
object, to represent a@serialData
tag.DocTreeFactory.newSerialFieldTree
(IdentifierTree name,ReferenceTree type,List<? extendsDocTree> description) Creates a newSerialFieldTree
object, to represent a@serialField
tag.DocTreeFactory.newSerialTree
(List<? extendsDocTree> description) Creates a newSerialTree
object, to represent a@serial
tag.DocTreeFactory.newSinceTree
(List<? extendsDocTree> text) Creates a newSinceTree
object, to represent a@since
tag.DocTreeFactory.newSnippetTree
(List<? extendsDocTree> attributes,TextTree text) Creates a newSnippetTree
object, to represent a{@snippet }
tag.DocTreeFactory.newSpecTree
(TextTree url,List<? extendsDocTree> title) Creates a newSpecTree
object, to represent an@spec
tag.DocTreeFactory.newStartElementTree
(Name name,List<? extendsDocTree> attrs, boolean selfClosing) Creates a newStartElementTree
object, to represent the start of an HTML element.defaultSummaryTree
DocTreeFactory.newSummaryTree
(List<? extendsDocTree> summary) Creates a newSummaryTree
object, to represent a{@summary }
tag.DocTreeFactory.newThrowsTree
(ReferenceTree name,List<? extendsDocTree> description) Creates a newThrowsTree
object, to represent a@throws
tag.DocTreeFactory.newUnknownBlockTagTree
(Name name,List<? extendsDocTree> content) Creates a newUnknownBlockTagTree
object, to represent an unrecognized block tag.DocTreeFactory.newUnknownInlineTagTree
(Name name,List<? extendsDocTree> content) Creates a newUnknownInlineTagTree
object, to represent an unrecognized inline tag.DocTreeFactory.newUsesTree
(ReferenceTree name,List<? extendsDocTree> description) Creates a newUsesTree
object, to represent a@uses
tag.DocTreeFactory.newVersionTree
(List<? extendsDocTree> text) Creates a newVersionTree
object, to represent a{@version }
tag.Uses ofList incom.sun.tools.attach
Methods incom.sun.tools.attach that returnListModifier and TypeMethodDescriptionstaticList
<VirtualMachineDescriptor> VirtualMachine.list()
Return a list of Java virtual machines.Uses ofList incom.sun.tools.attach.spi
Methods incom.sun.tools.attach.spi that returnListModifier and TypeMethodDescriptionabstractList
<VirtualMachineDescriptor> AttachProvider.listVirtualMachines()
Lists the Java virtual machines known to this provider.staticList
<AttachProvider> AttachProvider.providers()
Returns a list of the installed attach providers.Uses ofList injava.awt
Modifier and TypeMethodDescriptionWindow.getIconImages()
Returns the sequence of images to be displayed as the icon for this window.protectedList
<KeyEventDispatcher> KeyboardFocusManager.getKeyEventDispatchers()
Returns this KeyboardFocusManager's KeyEventDispatcher chain as a List.protectedList
<KeyEventPostProcessor> KeyboardFocusManager.getKeyEventPostProcessors()
Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a List.Modifier and TypeMethodDescriptionvoid
Window.setIconImages
(List<? extendsImage> icons) Sets the sequence of images to be displayed as the icon for this window.Uses ofList injava.awt.datatransfer
Methods injava.awt.datatransfer that returnListModifier 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 ofList injava.awt.desktop
Methods injava.awt.desktop that returnListConstructors injava.awt.desktop with parameters of typeListModifierConstructorDescriptionOpenFilesEvent
(List<File> files,String searchTerm) Constructs anOpenFilesEvent
.PrintFilesEvent
(List<File> files) Constructs aPrintFilesEvent
.Uses ofList injava.awt.dnd
Methods injava.awt.dnd that returnListModifier and TypeMethodDescriptionprotectedList
<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
.Constructors injava.awt.dnd with parameters of typeListModifierConstructorDescriptionDragGestureEvent
(DragGestureRecognizer dgr, int act,Point ori,List<? extendsInputEvent> 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 ofList injava.awt.image
Methods injava.awt.image that returnListModifier and TypeMethodDescriptionBaseMultiResolutionImage.getResolutionVariants()
MultiResolutionImage.getResolutionVariants()
Gets a readable list of all resolution variants.Uses ofList injava.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 theversion number.Modifier and TypeMethodDescriptionSets this process builder's operating system program and arguments.staticModuleLayer.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.staticModuleLayer.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.staticModuleLayer.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 ofList injava.lang.classfile
Methods injava.lang.classfile that returnListModifier and TypeMethodDescriptionBootstrapMethodEntry.arguments()
Returns the bootstrap arguments.MethodSignature.arguments()
Returns the signatures of the parameters of this method or constructor, may be empty.AttributedElement.attributes()
Returns the attributes of this structure.CompoundElement.elementList()
Returns aList
containing all member elements in this compound element.Annotation.elements()
Returns the element-value pairs of the annotation.CodeModel.exceptionHandlers()
Returns the exception table of the method.ClassModel.fields()
Returns the fields of this class.AttributedElement.findAttributes
(AttributeMapper<T> attr) Finds attributes by name.Signature.TypeParam.interfaceBounds()
Returns the interface bounds of the type parameter.ClassModel.interfaces()
Returns the interfaces implemented by this class.Interfaces.interfaces()
Returns the interfaces of this class, may be empty.ClassModel.methods()
Returns the methods of this class.ClassSignature.superinterfaceSignatures()
Returns the instantiation of the interfaces in this signature, may be empty.TypeAnnotation.LocalVarTarget.table()
Returns the table of local variable location/indices.TypeAnnotation.targetPath()
Returns which part of the type indicated byTypeAnnotation.targetInfo()
is annotated.MethodSignature.throwableSignatures()
Returns the signatures of the exceptions thrown by this method or constructor.Signature.ClassTypeSig.typeArgs()
Returns the type arguments of this class or interface.ClassSignature.typeParameters()
Returns the type parameters of this class or interface, may be empty.MethodSignature.typeParameters()
Returns the type parameters of this method or constructor, may be empty.AnnotationValue.OfArray.values()
Returns the array elements of the array value.ClassFile.verify
(byte[] bytes) Verify aclass
file.ClassFile.verify
(ClassModel model) Verify aclass
file.defaultList
<VerifyError> Verify aclass
file.Methods injava.lang.classfile with parameters of typeListModifier and TypeMethodDescriptionCodeBuilder.CatchBuilder.catchingMulti
(List<ClassDesc> exceptionTypes,Consumer<CodeBuilder.BlockCodeBuilder> catchHandler) Adds a catch block that catches exceptions of the given types.defaultCodeBuilder
CodeBuilder.lookupswitch
(Label defaultTarget,List<SwitchCase> cases) Generates an instruction to access a jump table by key match and jump.staticAnnotation
Annotation.of
(Utf8Entry annotationClass,List<AnnotationElement> elements) Returns an annotation.staticAnnotation
Annotation.of
(ClassDesc annotationClass,List<AnnotationElement> elements) Returns an annotation.staticClassSignature
ClassSignature.of
(List<Signature.TypeParam> typeParameters,Signature.ClassTypeSig superclassSignature,Signature.ClassTypeSig... superinterfaceSignatures) Returns a class signature.staticInterfaces
Interfaces.of
(List<ClassEntry> interfaces) Returns anInterfaces element.staticMethodSignature
MethodSignature.of
(List<Signature.TypeParam> typeParameters,List<Signature.ThrowableSig> exceptions,Signature result,Signature... arguments) Returns a method signature.staticTypeAnnotation
TypeAnnotation.of
(TypeAnnotation.TargetInfo targetInfo,List<TypeAnnotation.TypePathComponent> targetPath,Annotation annotation) Returns atype_annotation
structure.staticAnnotationValue.OfArray
AnnotationValue.ofArray
(List<AnnotationValue> values) Returns an array value for an element-value pair.TypeAnnotation.TargetInfo.ofLocalVariable
(List<TypeAnnotation.LocalVarTargetInfo> table) Returns a target for annotations on the type in a local variable declaration.TypeAnnotation.TargetInfo.ofResourceVariable
(List<TypeAnnotation.LocalVarTargetInfo> table) Returns a target for annotations on the type in a local variable declared as a resource in a try-with-resources statement.staticInterfaces
Returns anInterfaces element.TypeAnnotation.TargetInfo.ofVariable
(TypeAnnotation.TargetType targetType,List<TypeAnnotation.LocalVarTargetInfo> table) Returns a target for annotations on the type in a local variable declaration, including a variable declared as a resource in a try-with-resources statement.defaultCodeBuilder
CodeBuilder.tableswitch
(int low, int high,Label defaultTarget,List<SwitchCase> cases) Generates an instruction to access a jump table by index and jump.defaultCodeBuilder
CodeBuilder.tableswitch
(Label defaultTarget,List<SwitchCase> cases) Generates an instruction to access a jump table by index and jump.defaultClassBuilder
ClassBuilder.withInterfaces
(List<ClassEntry> interfaces) Sets the interfaces of this class.defaultClassBuilder
ClassBuilder.withInterfaceSymbols
(List<ClassDesc> interfaces) Sets the interfaces of this class.Uses ofList injava.lang.classfile.attribute
Methods injava.lang.classfile.attribute that returnListModifier and TypeMethodDescriptionRuntimeInvisibleAnnotationsAttribute.annotations()
Returns the run-time invisible declaration annotations on this structure.RuntimeInvisibleTypeAnnotationsAttribute.annotations()
Returns the run-time invisible annotations on uses of types in this structure.RuntimeVisibleAnnotationsAttribute.annotations()
Returns the run-time visible declaration annotations on this structure.RuntimeVisibleTypeAnnotationsAttribute.annotations()
Returns the run-time visible annotations on uses of types in this structure.BootstrapMethodsAttribute.bootstrapMethods()
Returns the elements of the bootstrap method table.CharacterRangeTableAttribute.characterRangeTable()
Returns the entries of the character range table.InnerClassesAttribute.classes()
Returns the nested classes used by thisclass
file.RecordAttribute.components()
Returns the components of this record class.StackMapTableAttribute.entries()
Returns the stack map frames.ExceptionsAttribute.exceptions()
Returns the exceptions declared to be thrown by this method.ModuleAttribute.exports()
Returns the packages exported by this module.ModuleExportInfo.exportsTo()
Returns the list of modules to which this package is exported, or empty if this is an unqualified export.ModuleHashesAttribute.hashes()
Returns the hash information about related modules.LineNumberTableAttribute.lineNumbers()
Returns the table mapping bytecode offsets to source line numbers.StackMapFrameInfo.locals()
Returns the expanded local variable types.LocalVariableTableAttribute.localVariables()
Returns debug information for the local variables in this method.LocalVariableTypeTableAttribute.localVariableTypes()
Returns debug information for the local variables with generic types in this method.NestMembersAttribute.nestMembers()
Returns the classes belonging to the nest hosted by this class.ModuleAttribute.opens()
Returns the packages opened by this module.ModuleOpenInfo.opensTo()
Returns the modules to which this package is opened, or empty if this is an unqualified open.ModulePackagesAttribute.packages()
Returns the packages used by the module descriptor.RuntimeInvisibleParameterAnnotationsAttribute.parameterAnnotations()
Returns the list of run-time invisible annotations on the method parameters.RuntimeVisibleParameterAnnotationsAttribute.parameterAnnotations()
Returns the list of run-time visible annotations on the method parameters.MethodParametersAttribute.parameters()
Returns information about the parameters of the method.PermittedSubclassesAttribute.permittedSubclasses()
Returns the list of permitted subclasses or subinterfaces.ModuleAttribute.provides()
Returns the service implementations provided by this module.ModuleProvideInfo.providesWith()
Returns the classes providing the service implementation.ModuleAttribute.requires()
Returns the modules required by this module.StackMapFrameInfo.stack()
Returns the expanded operand stack types.ModuleAttribute.uses()
Returns the services used by this module.Methods injava.lang.classfile.attribute that return types with arguments of typeListModifier and TypeMethodDescriptionRuntimeInvisibleParameterAnnotationsAttribute.parameterAnnotations()
Returns the list of run-time invisible annotations on the method parameters.RuntimeVisibleParameterAnnotationsAttribute.parameterAnnotations()
Returns the list of run-time visible annotations on the method parameters.Methods injava.lang.classfile.attribute with parameters of typeListModifier and TypeMethodDescriptionCharacterRangeTableAttribute.of
(List<CharacterRangeInfo> ranges) Returns aCharacterRangeTable
attribute.staticExceptionsAttribute
ExceptionsAttribute.of
(List<ClassEntry> exceptions) Returns anExceptions
attribute.staticInnerClassesAttribute
InnerClassesAttribute.of
(List<InnerClassInfo> innerClasses) Returns anInnerClasses
attribute.staticLineNumberTableAttribute
LineNumberTableAttribute.of
(List<LineNumberInfo> lines) Returns aLineNumberTable
attribute.LocalVariableTableAttribute.of
(List<LocalVariableInfo> locals) Returns aLocalVariableTable
attribute.LocalVariableTypeTableAttribute.of
(List<LocalVariableTypeInfo> locals) Returns aLocalVariableTypeTable
attribute.MethodParametersAttribute.of
(List<MethodParameterInfo> parameters) Returns aMethodParameters
attribute.staticModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports, int exportFlags,List<ModuleEntry> exportsTo) Returns a module export description.staticModuleExportInfo
ModuleExportInfo.of
(PackageEntry exports,Collection<AccessFlag> exportFlags,List<ModuleEntry> exportsTo) Returns a module export description.staticModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports, int exportFlags,List<ModuleDesc> exportsTo) Returns a module export description.staticModuleExportInfo
ModuleExportInfo.of
(PackageDesc exports,Collection<AccessFlag> exportFlags,List<ModuleDesc> exportsTo) Returns a module export description.staticModuleHashesAttribute
ModuleHashesAttribute.of
(Utf8Entry algorithm,List<ModuleHashInfo> hashes) Returns aModuleHashes
attribute.staticModuleHashesAttribute
ModuleHashesAttribute.of
(String algorithm,List<ModuleHashInfo> hashes) Returns aModuleHashes
attribute.staticModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens, int opensFlags,List<ModuleEntry> opensTo) Returns a module open description.staticModuleOpenInfo
ModuleOpenInfo.of
(PackageEntry opens,Collection<AccessFlag> opensFlags,List<ModuleEntry> opensTo) Returns a module open description.staticModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens, int opensFlags,List<ModuleDesc> opensTo) Returns a module open description.staticModuleOpenInfo
ModuleOpenInfo.of
(PackageDesc opens,Collection<AccessFlag> opensFlags,List<ModuleDesc> opensTo) Returns a module open description.staticModulePackagesAttribute
ModulePackagesAttribute.of
(List<PackageEntry> packages) Returns aModulePackages
attribute.staticModuleProvideInfo
ModuleProvideInfo.of
(ClassEntry provides,List<ClassEntry> providesWith) Returns a service provision description.staticModuleProvideInfo
Returns a service provision description.staticNestMembersAttribute
NestMembersAttribute.of
(List<ClassEntry> nestMembers) Returns aNestMembers
attribute.PermittedSubclassesAttribute.of
(List<ClassEntry> permittedSubclasses) Returns aPermittedSubclasses
attribute.staticRecordAttribute
RecordAttribute.of
(List<RecordComponentInfo> components) Returns aRecord
attribute.staticRecordComponentInfo
Returns a record component description.staticRecordComponentInfo
Returns a record component description.RuntimeInvisibleAnnotationsAttribute.of
(List<Annotation> annotations) Returns aRuntimeInvisibleAnnotations
attribute.RuntimeInvisibleParameterAnnotationsAttribute.of
(List<List<Annotation>> parameterAnnotations) Returns aRuntimeInvisibleParameterAnnotations
attribute.RuntimeInvisibleTypeAnnotationsAttribute.of
(List<TypeAnnotation> annotations) Returns aRuntimeInvisibleTypeAnnotations
attribute.RuntimeVisibleAnnotationsAttribute.of
(List<Annotation> annotations) Returns aRuntimeVisibleAnnotations
attribute.RuntimeVisibleParameterAnnotationsAttribute.of
(List<List<Annotation>> parameterAnnotations) Returns aRuntimeVisibleParameterAnnotations
attribute.RuntimeVisibleTypeAnnotationsAttribute.of
(List<TypeAnnotation> annotations) Returns aRuntimeVisibleTypeAnnotations
attribute.staticStackMapFrameInfo
StackMapFrameInfo.of
(Label target,List<StackMapFrameInfo.VerificationTypeInfo> locals,List<StackMapFrameInfo.VerificationTypeInfo> stack) Returns a new stack map frame.staticStackMapTableAttribute
StackMapTableAttribute.of
(List<StackMapFrameInfo> entries) Returns a stack map table attribute.staticModulePackagesAttribute
ModulePackagesAttribute.ofNames
(List<PackageDesc> packages) Returns aModulePackages
attribute.staticExceptionsAttribute
Returns anExceptions
attribute.staticNestMembersAttribute
Returns aNestMembers
attribute.Returns aPermittedSubclasses
attribute.Method parameters injava.lang.classfile.attribute with type arguments of typeListModifier and TypeMethodDescriptionRuntimeInvisibleParameterAnnotationsAttribute.of
(List<List<Annotation>> parameterAnnotations) Returns aRuntimeInvisibleParameterAnnotations
attribute.RuntimeVisibleParameterAnnotationsAttribute.of
(List<List<Annotation>> parameterAnnotations) Returns aRuntimeVisibleParameterAnnotations
attribute.Uses ofList injava.lang.classfile.constantpool
Methods injava.lang.classfile.constantpool with parameters of typeListModifier and TypeMethodDescriptionConstantPoolBuilder.bsmEntry
(MethodHandleEntry methodReference,List<LoadableConstantEntry> arguments) defaultBootstrapMethodEntry
ConstantPoolBuilder.bsmEntry
(DirectMethodHandleDesc methodReference,List<ConstantDesc> arguments) Returns aBootstrapMethodEntry
describing the provided bootstrap method and arguments.Uses ofList injava.lang.classfile.instruction
Methods injava.lang.classfile.instruction that returnListModifier and TypeMethodDescriptiondefaultList
<ConstantDesc> InvokeDynamicInstruction.bootstrapArgs()
Returns the bootstrap arguments of the call site.LookupSwitchInstruction.cases()
Returns the cases of the switch.TableSwitchInstruction.cases()
Returns the cases of the switch.Methods injava.lang.classfile.instruction with parameters of typeListModifier and TypeMethodDescriptionstaticLookupSwitchInstruction
LookupSwitchInstruction.of
(Label defaultTarget,List<SwitchCase> cases) Returns a lookup switch instruction.staticTableSwitchInstruction
TableSwitchInstruction.of
(int lowValue, int highValue,Label defaultTarget,List<SwitchCase> cases) Returns a table switch instruction.Uses ofList injava.lang.constant
Methods injava.lang.constant that returnListModifier and TypeMethodDescriptionDynamicConstantDesc.bootstrapArgsList()
Returns the bootstrap arguments for this constant as an immutableList
.MethodTypeDesc.parameterList()
Returns the parameter types as an immutableList
.Methods injava.lang.constant with parameters of typeListModifier and TypeMethodDescriptionstaticMethodTypeDesc
Returns aMethodTypeDesc given the return type and a list of parameter types.Uses ofList injava.lang.foreign
Methods injava.lang.foreign that returnListModifier and TypeMethodDescriptionFunctionDescriptor.argumentLayouts()
Returns the argument layouts of this function descriptor (as an unmodifiable list).GroupLayout.memberLayouts()
Returns the member layouts of this group layout.Uses ofList injava.lang.invoke
Methods injava.lang.invoke that returnListModifier 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 descriptorMethods injava.lang.invoke with parameters of typeListModifier and TypeMethodDescriptionMethodType.appendParameterTypes
(List<Class<?>> ptypesToInsert) Finds or creates a method type with additional parameter types.staticMethodHandle
MethodHandles.dropArguments
(MethodHandle target, int pos,List<Class<?>> valueTypes) Produces a method handle which will discard some dummy arguments before calling some other specifiedtarget method handle.staticMethodHandle
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.staticMethodType
MethodType.methodType
(Class<?> rtype,List<Class<?>> ptypes) Finds or creates a method type with the given components.staticVarHandle
MethodHandles.permuteCoordinates
(VarHandle target,List<Class<?>> newCoordinates, int... reorder) 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 ofList injava.lang.management
Methods injava.lang.management that returnListModifier and TypeMethodDescriptionstaticList
<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 registeredlogger names.staticList
<MemoryManagerMXBean> ManagementFactory.getMemoryManagerMXBeans()
Returns a list ofMemoryManagerMXBean
objects in the Java virtual machine.staticList
<MemoryPoolMXBean> ManagementFactory.getMemoryPoolMXBeans()
Returns a list ofMemoryPoolMXBean
objects in the Java virtual machine.static <T extendsPlatformManagedObject>
List<T> ManagementFactory.getPlatformMXBeans
(Class<T> mxbeanInterface) Returns the list of platform MXBeans implementing the givenmxbeanInterface
in the Java virtual machine.static <T extendsPlatformManagedObject>
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 ofList injava.lang.module
Methods injava.lang.module that returnListModifier and TypeMethodDescriptionConfiguration.parents()
Returns an unmodifiable list of this configuration's parents, in search order.ModuleDescriptor.Provides.providers()
Returns the list of thebinary names of the providers or provider factories.Methods injava.lang.module with parameters of typeListModifier and TypeMethodDescriptionProvides implementations of a service.staticConfiguration
Configuration.resolve
(ModuleFinder before,List<Configuration> parents,ModuleFinder after,Collection<String> roots) Resolves a collection of root modules to create a configuration.staticConfiguration
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 ofList injava.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 theInterfaceAddresses
of this network interface.abstractList
<Certificate> SecureCacheResponse.getLocalCertificateChain()
Returns the certificate chain that were sent to the server during handshaking of the original connection that retrieved the network resource.abstractList
<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.staticList
<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.abstractCacheResponse
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 ofList injava.net.http
Subinterfaces with type arguments of typeList injava.net.httpModifier and TypeInterfaceDescriptionstatic interface
ABodySubscriber
consumes response body bytes and converts them into a higher-level Java type.Methods injava.net.http with type parameters of typeListModifier and TypeMethodDescriptionstatic <S extendsFlow.Subscriber<? superList<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 extendsFlow.Subscriber<? superList<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
.Methods injava.net.http that returnListModifier and TypeMethodDescriptionReturns an unmodifiable List of all of the header string values of the given named header.Methods injava.net.http that return types with arguments of typeListModifier and TypeMethodDescriptionHttpHeaders.map()
Returns an unmodifiable multi Map view of this HttpHeaders.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>>
.Method parameters injava.net.http with type arguments of typeListModifier and TypeMethodDescriptionstaticHttpResponse.BodyHandler
<Void> HttpResponse.BodyHandlers.fromSubscriber
(Flow.Subscriber<? superList<ByteBuffer>> subscriber) Returns a response body handler that returns aBodySubscriber
<Void>
obtained fromHttpResponse.BodySubscribers.fromSubscriber(Subscriber)
, with the givensubscriber
.staticHttpResponse.BodySubscriber
<Void> HttpResponse.BodySubscribers.fromSubscriber
(Flow.Subscriber<? superList<ByteBuffer>> subscriber) Returns a body subscriber that forwards all response body to the givenFlow.Subscriber
.staticHttpHeaders
Returns an HTTP headers from the given map.Uses ofList injava.nio.file
Methods injava.nio.file that returnListModifier 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 ofList injava.nio.file.attribute
Methods injava.nio.file.attribute that returnListModifier and TypeMethodDescriptionAclFileAttributeView.getAcl()
Reads the access control list.UserDefinedFileAttributeView.list()
Returns a list containing the names of the user-defined attributes.Methods injava.nio.file.attribute with parameters of typeListUses ofList injava.nio.file.spi
Methods injava.nio.file.spi that returnListModifier and TypeMethodDescriptionstaticList
<FileSystemProvider> FileSystemProvider.installedProviders()
Returns a list of the installed file system providers.Uses ofList injava.security
Constructors injava.security with parameters of typeListUses ofList injava.security.cert
Methods injava.security.cert that returnListModifier and TypeMethodDescriptionabstractList
<? extendsCertificate> 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.abstractList
<CertPathValidatorException> PKIXRevocationChecker.getSoftFailExceptions()
Returns a list containing the exceptions that are ignored by the revocation checker when theSOFT_FAIL
option is set.Methods injava.security.cert that return types with arguments of typeListModifier 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.Methods injava.security.cert with parameters of typeListModifier and TypeMethodDescriptionCertificateFactorySpi.engineGenerateCertPath
(List<? extendsCertificate> certificates) Generates aCertPath
object and initializes it with aList
ofCertificate
s.finalCertPath
CertificateFactory.generateCertPath
(List<? extendsCertificate> 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.Method parameters injava.security.cert with type arguments of typeListModifier and TypeMethodDescriptionvoid
X509CertSelector.setPathToNames
(Collection<List<?>> names) Sets the pathToNames criterion.void
X509CertSelector.setSubjectAlternativeNames
(Collection<List<?>> names) Sets the subjectAlternativeNames criterion.Uses ofList injava.text
Modifier and TypeMethodDescriptionReturns the parsed list of strings from thesource
string.Uses ofList injava.time
Uses ofList injava.time.chrono
Methods injava.time.chrono that returnListUses ofList injava.time.temporal
Methods injava.time.temporal that returnListModifier and TypeMethodDescriptionTemporalAmount.getUnits()
Returns the list of units uniquely defining the value of this TemporalAmount.Uses ofList injava.time.zone
Methods injava.time.zone that returnListModifier 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.Methods injava.time.zone with parameters of typeListModifier and TypeMethodDescriptionstaticZoneRules
ZoneRules.of
(ZoneOffset baseStandardOffset,ZoneOffset baseWallOffset,List<ZoneOffsetTransition> standardOffsetTransitionList,List<ZoneOffsetTransition> transitionList,List<ZoneOffsetTransitionRule> lastRules) Obtains an instance of a ZoneRules.Uses ofList injava.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 finalList
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 anunmodifiable 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
.staticList
<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.staticList
<Locale.LanguageRange> Parses the givenranges
to generate a Language Priority List.staticList
<Locale.LanguageRange> Parses the givenranges
to generate a Language Priority List, and then customizes the list using the givenmap
.List.reversed()
Returns a reverse-orderedview of this collection.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 anunmodifiable view of the specified list.Modifier and TypeMethodDescriptionstatic <T> int
Collections.binarySearch
(List<? extendsComparable<? 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 finalResourceBundle.Control
ResourceBundle.Control.getControl
(List<String> formats) static finalResourceBundle.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.staticLocale
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.staticString
Locale.lookupTag
(List<Locale.LanguageRange> priorityList,Collection<String> tags) Returns the best-matching language tag using the lookup mechanism defined in RFC 4647.staticList
<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 extendsComparable<? super T>>
voidSorts the specified list into ascending order, according to thenatural 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 anunmodifiable view of the specified list.Modifier and TypeMethodDescriptionstaticList
<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
.staticList
<Locale.LanguageRange> Parses the givenranges
to generate a Language Priority List, and then customizes the list using the givenmap
.Uses ofList injava.util.concurrent
Classes injava.util.concurrent that implementListModifier 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.Methods injava.util.concurrent that returnListModifier and TypeMethodDescriptionList
<Flow.Subscriber<? superT>> SubmissionPublisher.getSubscribers()
Returns a list of current subscribers for monitoring and tracking purposes, not for invokingFlow.Subscriber
methods on the subscribers.AbstractExecutorService.invokeAll
(Collection<? extendsCallable<T>> tasks) AbstractExecutorService.invokeAll
(Collection<? extendsCallable<T>> tasks, long timeout,TimeUnit unit) ExecutorService.invokeAll
(Collection<? extendsCallable<T>> tasks) Executes the given tasks, returning a list of Futures holding their status and results when all complete.ExecutorService.invokeAll
(Collection<? extendsCallable<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.invokeAllUninterruptibly
(Collection<? extendsCallable<T>> tasks) Uninterrupible version ofinvokeAll
.CopyOnWriteArrayList.reversed()
Returns a reverse-orderedview of this collection.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 ofList injava.util.logging
Methods injava.util.logging that returnListModifier and TypeMethodDescriptionLoggingMXBean.getLoggerNames()
Deprecated.Returns the list of currently registered logger names.Uses ofList injava.util.stream
Methods injava.util.stream that returnListModifier and TypeMethodDescriptionStream.toList()
Accumulates the elements of this stream into aList
.Methods injava.util.stream that return types with arguments of typeListModifier 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 anunmodifiable List in encounter order.Gatherers.windowFixed
(int windowSize) Returns a Gatherer that gathers elements into windows -- encounter-ordered groups of elements -- of a fixed size.Gatherers.windowSliding
(int windowSize) Returns a Gatherer that gathers elements into windows -- encounter-ordered groups of elements -- of a given size, where each subsequent window includes all elements of the previous window except for the least recent, and adds the next element in the stream.Uses ofList injavax.crypto.spec
Methods injavax.crypto.spec that returnListModifier and TypeMethodDescriptionHKDFParameterSpec.Extract.ikms()
Returns an unmodifiableList
of input keying material values in the order they were added.HKDFParameterSpec.ExtractThenExpand.ikms()
Returns an unmodifiableList
of input keying material values in the order they were added.HKDFParameterSpec.Extract.salts()
Returns an unmodifiableList
of salt values in the order they were added.HKDFParameterSpec.ExtractThenExpand.salts()
Returns an unmodifiableList
of salt values in the order they were added.Uses ofList injavax.imageio
Fields injavax.imageio declared asListModifier and TypeFieldDescriptionprotectedList
<IIOReadProgressListener> ImageReader.progressListeners
AList
of currently registeredIIOReadProgressListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protectedList
<IIOWriteProgressListener> ImageWriter.progressListeners
AList
of currently registeredIIOWriteProgressListener
s, initialized by defaultnull
, which is synonymous with an emptyList
.protectedList
<? extendsBufferedImage> IIOImage.thumbnails
AList
ofBufferedImage
thumbnails, ornull
.protectedList
<IIOReadUpdateListener> ImageReader.updateListeners
AList
of currently registeredIIOReadUpdateListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protectedList
<IIOReadWarningListener> ImageReader.warningListeners
AList
of currently registeredIIOReadWarningListener
s, initialized by default tonull
, which is synonymous with an emptyList
.protectedList
<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
.Methods injavax.imageio that returnListModifier and TypeMethodDescriptionList
<? extendsBufferedImage> IIOImage.getThumbnails()
Returns the currentList
of thumbnailBufferedImage
s, ornull
if none is set.Methods injavax.imageio with parameters of typeListModifier and TypeMethodDescriptionvoid
ImageWriter.prepareInsertEmpty
(int imageIndex,ImageTypeSpecifier imageType, int width, int height,IIOMetadata imageMetadata,List<? extendsBufferedImage> 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<? extendsBufferedImage> 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<? extendsBufferedImage> thumbnails) Sets the list of thumbnails to a newList
ofBufferedImage
s, or tonull
.Constructors injavax.imageio with parameters of typeListModifierConstructorDescriptionIIOImage
(Raster raster,List<? extendsBufferedImage> thumbnails,IIOMetadata metadata) Constructs anIIOImage
containing aRaster
, and thumbnails and metadata associated with it.IIOImage
(RenderedImage image,List<? extendsBufferedImage> thumbnails,IIOMetadata metadata) Constructs anIIOImage
containing aRenderedImage
, and thumbnails and metadata associated with it.Uses ofList injavax.imageio.metadata
Methods injavax.imageio.metadata with parameters of typeListModifier 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 ofList injavax.imageio.plugins.tiff
Methods injavax.imageio.plugins.tiff that returnListModifier and TypeMethodDescriptionTIFFImageReadParam.getAllowedTagSets()
Returns aList
containing the allowedTIFFTagSet
objects.Constructors injavax.imageio.plugins.tiff with parameters of typeListModifierConstructorDescriptionTIFFTagSet
(List<TIFFTag> tags) Constructs aTIFFTagSet
, given aList
ofTIFFTag
objects.Uses ofList injavax.lang.model
Methods injavax.lang.model that returnListModifier and TypeMethodDescriptionList
<? extendsAnnotationMirror> AnnotatedConstruct.getAnnotationMirrors()
Returns the annotations that aredirectly present on this construct.Uses ofList injavax.lang.model.element
Methods injavax.lang.model.element that returnListModifier and TypeMethodDescriptionList
<? extendsAnnotationMirror> Element.getAnnotationMirrors()
Returns the annotations that aredirectly present on this construct.List
<? extendsTypeMirror> TypeParameterElement.getBounds()
Returns the bounds of this type parameter.List
<? extendsModuleElement.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 thetop-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
<? extendsTypeElement> ModuleElement.ProvidesDirective.getImplementations()
Returns the implementations of the service being provided.List
<? extendsTypeMirror> TypeElement.getInterfaces()
Returns the interface types directly implemented by this class or extended by this interface.List
<? extendsVariableElement> ExecutableElement.getParameters()
Returns the formal parameters of this executable.defaultList
<? extendsTypeMirror> TypeElement.getPermittedSubclasses()
Returns the permitted classes of this class or interface element in declaration order.defaultList
<? extendsRecordComponentElement> TypeElement.getRecordComponents()
Returns the record components of this class or interface element in declaration order.List
<? extendsModuleElement> 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
<? extendsModuleElement> 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
<? extendsTypeMirror> ExecutableElement.getThrownTypes()
Returns the exceptions and other throwables listed in this method or constructor'sthrows
clause in declaration order.List
<? extendsTypeParameterElement> ExecutableElement.getTypeParameters()
Returns the formal type parameters of this executable in declaration order.List
<? extendsTypeParameterElement> Parameterizable.getTypeParameters()
Returns the formal type parameters of an element in declaration order.List
<? extendsTypeParameterElement> TypeElement.getTypeParameters()
Returns the formal type parameters of this class or interface element in declaration order.Methods injavax.lang.model.element with parameters of typeListModifier and TypeMethodDescriptionAnnotationValueVisitor.visitArray
(List<? extendsAnnotationValue> vals,P p) Visits an array value in an annotation.Uses ofList injavax.lang.model.type
Methods injavax.lang.model.type that returnListModifier and TypeMethodDescriptionList
<? extendsTypeMirror> UnionType.getAlternatives()
Returns the alternatives comprising this union type.List
<? extendsAnnotationMirror> TypeMirror.getAnnotationMirrors()
Returns the annotations that aredirectly present on this construct.List
<? extendsTypeMirror> IntersectionType.getBounds()
Returns the bounds comprising this intersection type.List
<? extendsTypeMirror> ExecutableType.getParameterTypes()
Returns the types of this executable's formal parameters.List
<? extendsTypeMirror> ExecutableType.getThrownTypes()
Returns the exceptions and other throwables listed in this executable'sthrows
clause.List
<? extendsTypeMirror> DeclaredType.getTypeArguments()
Returns the actual type arguments of this type.List
<? extendsTypeMirror> MirroredTypesException.getTypeMirrors()
Returns the type mirrors corresponding to the types being accessed.List
<? extendsTypeVariable> ExecutableType.getTypeVariables()
Returns the type variables declared by the formal type parameters of this executable.Constructors injavax.lang.model.type with parameters of typeListModifierConstructorDescriptionMirroredTypesException
(List<? extendsTypeMirror> types) Constructs a new MirroredTypesException for the specified types.Uses ofList injavax.lang.model.util
Methods injavax.lang.model.util that returnListModifier and TypeMethodDescriptionstaticList
<ExecutableElement> ElementFilter.constructorsIn
(Iterable<? extendsElement> elements) Returns a list of constructors inelements
.List
<? extendsTypeMirror> Types.directSupertypes
(TypeMirror t) Returns the direct supertypes of a type.ElementFilter.exportsIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofexports
directives indirectives
.staticList
<VariableElement> Returns a list of fields inelements
.List
<? extendsAnnotationMirror> Elements.getAllAnnotationMirrors
(Element e) Returns all annotationspresent 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.staticList
<ExecutableElement> Returns a list of methods inelements
.staticList
<ModuleElement> Returns a list of modules inelements
.staticList
<ModuleElement.OpensDirective> ElementFilter.opensIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofopens
directives indirectives
.staticList
<PackageElement> ElementFilter.packagesIn
(Iterable<? extendsElement> elements) Returns a list of packages inelements
.ElementFilter.providesIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofprovides
directives indirectives
.staticList
<RecordComponentElement> ElementFilter.recordComponentsIn
(Iterable<? extendsElement> elements) Returns a list of record components inelements
.ElementFilter.requiresIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofrequires
directives indirectives
.staticList
<TypeElement> Returns a list of classes and interfaces inelements
.staticList
<ModuleElement.UsesDirective> ElementFilter.usesIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofuses
directives indirectives
.Methods injavax.lang.model.util with parameters of typeListModifier and TypeMethodDescriptionSimpleAnnotationValueVisitor6.visitArray
(List<? extendsAnnotationValue> vals,P p) Visits an array value in an annotation.Uses ofList injavax.management
Classes injavax.management that implementListModifier and TypeClassDescriptionclass
Represents a list of values for attributes of an MBean.Methods injavax.management that returnListModifier and TypeMethodDescriptionAttributeList.asList()
Return a view of this list as aList<Attribute>
.Constructors injavax.management with parameters of typeListModifierConstructorDescriptionAttributeList
(List<Attribute> list) Constructs anAttributeList
containing the elements of theList
specified, in the order in which they are returned by theList
's iterator.Uses ofList injavax.management.openmbean
Fields injavax.management.openmbean declared asListModifier and TypeFieldDescriptionOpenType.ALLOWED_CLASSNAMES_LIST
List of the fully qualified names of the Java classes allowed for open data values.Methods injavax.management.openmbean that returnListModifier 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 ofList injavax.management.relation
Classes injavax.management.relation that implementListModifier 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.Methods injavax.management.relation that returnListModifier 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.Methods injavax.management.relation that return types with arguments of typeListModifier 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.Methods injavax.management.relation with parameters of typeListModifier and TypeMethodDescriptionstaticString
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.Constructors injavax.management.relation with parameters of typeListModifierConstructorDescriptionRelationNotification
(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 ofList injavax.naming.ldap
Methods injavax.naming.ldap that returnListModifier and TypeMethodDescriptionLdapName.getRdns()
Retrieves the list of relative distinguished names.Methods injavax.naming.ldap with parameters of typeListModifier 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.Constructors injavax.naming.ldap with parameters of typeListUses ofList injavax.naming.ldap.spi
Methods injavax.naming.ldap.spi that returnListModifier and TypeMethodDescriptionLdapDnsProviderResult.getEndpoints()
Returns the possibly empty list of individual server endpoints resolved from the LDAP URL.Constructors injavax.naming.ldap.spi with parameters of typeListModifierConstructorDescriptionLdapDnsProviderResult
(String domainName,List<String> endpoints) Construct an LdapDnsProviderResult consisting of a resolved domain name and the LDAP server endpoints that serve the domain.Uses ofList injavax.net.ssl
Methods injavax.net.ssl that returnListModifier and TypeMethodDescriptionKeyStoreBuilderParameters.getParameters()
Return the unmodifiable List of theKeyStore.Builders encapsulated by this object.ExtendedSSLSession.getRequestedServerNames()
Obtains aList
containing allSNIServerName
s of the requested Server Name Indication (SNI) extension.finalList
<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.Methods injavax.net.ssl that return types with arguments of typeListModifier 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.Methods injavax.net.ssl with parameters of typeListModifier and TypeMethodDescriptionfinal void
SSLParameters.setServerNames
(List<SNIServerName> serverNames) Sets the desiredSNIServerName
s of the Server Name Indication (SNI) parameter.Method parameters injavax.net.ssl with type arguments of typeListModifier 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.Constructors injavax.net.ssl with parameters of typeListModifierConstructorDescriptionKeyStoreBuilderParameters
(List<KeyStore.Builder> parameters) Construct new KeyStoreBuilderParameters from a List ofKeyStore.Builders.Uses ofList injavax.script
Methods injavax.script that returnListModifier 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 ofList injavax.smartcardio
Methods injavax.smartcardio that returnListModifier and TypeMethodDescriptionCardTerminals.list()
Returns an unmodifiable list of all available terminals.abstractList
<CardTerminal> CardTerminals.list
(CardTerminals.State state) Returns an unmodifiable list of all terminals matching the specified state.Uses ofList injavax.sound.midi
Methods injavax.sound.midi that returnListModifier 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 ofList injavax.swing
Methods injavax.swing that returnListModifier 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
<? extendsRowSorter.SortKey> DefaultRowSorter.getSortKeys()
Returns the current sort keys.abstractList
<? extendsRowSorter.SortKey> RowSorter.getSortKeys()
Returns the current sort keys.Methods injavax.swing with parameters of typeListModifier and TypeMethodDescriptionprotected void
Receives data chunks from thepublish
method asynchronously on theEvent Dispatch Thread.void
Changes the list that defines this sequence and resets the index of the modelsvalue
to zero.void
DefaultRowSorter.setSortKeys
(List<? extendsRowSorter.SortKey> sortKeys) Sets the sort keys.abstract void
RowSorter.setSortKeys
(List<? extendsRowSorter.SortKey> keys) Sets the current sort keys.Constructors injavax.swing with parameters of typeListModifierConstructorDescriptionSpinnerListModel
(List<?> values) Constructs aSpinnerModel
whose sequence of values is defined by the specifiedList
.Uses ofList injavax.tools
Methods injavax.tools that returnListModifier and TypeMethodDescriptionList
<Diagnostic<? extendsS>> DiagnosticCollector.getDiagnostics()
Returns a list view of diagnostics collected by this object.Uses ofList injavax.xml.crypto.dsig
Methods injavax.xml.crypto.dsig that returnListModifier 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()
Methods injavax.xml.crypto.dsig with parameters of typeListModifier and TypeMethodDescriptionabstractManifest
XMLSignatureFactory.newManifest
(List<? extendsReference> references) Creates aManifest
containing the specified list ofReference
s.abstractManifest
XMLSignatureFactory.newManifest
(List<? extendsReference> references,String id) Creates aManifest
containing the specified list ofReference
s and optional id.abstractReference
XMLSignatureFactory.newReference
(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id) Creates aReference
with the specified parameters.abstractReference
XMLSignatureFactory.newReference
(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id, byte[] digestValue) Creates aReference
with the specified parameters and pre-calculated digest value.abstractReference
XMLSignatureFactory.newReference
(String uri,DigestMethod dm,List<? extendsTransform> appliedTransforms,Data result,List<? extendsTransform> transforms,String type,String id) Creates aReference
with the specified parameters.abstractSignatureProperties
XMLSignatureFactory.newSignatureProperties
(List<? extendsSignatureProperty> properties,String id) Creates aSignatureProperties
containing the specified list ofSignatureProperty
s and optional id.abstractSignatureProperty
XMLSignatureFactory.newSignatureProperty
(List<? extendsXMLStructure> content,String target,String id) Creates aSignatureProperty
containing the specified list ofXMLStructure
s, target URI and optional id.abstractSignedInfo
XMLSignatureFactory.newSignedInfo
(CanonicalizationMethod cm,SignatureMethod sm,List<? extendsReference> references) Creates aSignedInfo
with the specified canonicalization and signature methods, and list of one or more references.abstractSignedInfo
XMLSignatureFactory.newSignedInfo
(CanonicalizationMethod cm,SignatureMethod sm,List<? extendsReference> references,String id) Creates aSignedInfo
with the specified parameters.abstractXMLObject
XMLSignatureFactory.newXMLObject
(List<? extendsXMLStructure> content,String id,String mimeType,String encoding) Creates anXMLObject
from the specified parameters.abstractXMLSignature
XMLSignatureFactory.newXMLSignature
(SignedInfo si,KeyInfo ki,List<? extendsXMLObject> objects,String id,String signatureValueId) Creates anXMLSignature
and initializes it with the specified parameters.Uses ofList injavax.xml.crypto.dsig.keyinfo
Methods injavax.xml.crypto.dsig.keyinfo that returnListModifier 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()
Methods injavax.xml.crypto.dsig.keyinfo with parameters of typeListModifier and TypeMethodDescriptionabstractKeyInfo
KeyInfoFactory.newKeyInfo
(List<? extendsXMLStructure> content) Creates aKeyInfo
containing the specified list of key information types.abstractKeyInfo
KeyInfoFactory.newKeyInfo
(List<? extendsXMLStructure> content,String id) Creates aKeyInfo
containing the specified list of key information types and optional id.abstractPGPData
KeyInfoFactory.newPGPData
(byte[] keyId, byte[] keyPacket,List<? extendsXMLStructure> other) Creates aPGPData
from the specified PGP public key identifier, and optional key material packet and list of external elements.abstractPGPData
KeyInfoFactory.newPGPData
(byte[] keyPacket,List<? extendsXMLStructure> other) Creates aPGPData
from the specified PGP key material packet and optional list of external elements.abstractRetrievalMethod
KeyInfoFactory.newRetrievalMethod
(String uri,String type,List<? extendsTransform> transforms) Creates aRetrievalMethod
from the specified parameters.abstractX509Data
KeyInfoFactory.newX509Data
(List<?> content) Creates aX509Data
containing the specified list of X.509 content.Uses ofList injavax.xml.crypto.dsig.spec
Methods injavax.xml.crypto.dsig.spec that returnListModifier and TypeMethodDescriptionExcC14NParameterSpec.getPrefixList()
Returns the inclusive namespace prefix list.XPathFilter2ParameterSpec.getXPathList()
Returns a list of one or moreXPathType
objects.Constructors injavax.xml.crypto.dsig.spec with parameters of typeListModifierConstructorDescriptionExcC14NParameterSpec
(List<String> prefixList) Creates aExcC14NParameterSpec
with the specified list of prefixes.XPathFilter2ParameterSpec
(List<XPathType> xPathList) Creates anXPathFilter2ParameterSpec
.Uses ofList injavax.xml.stream.events
Methods injavax.xml.stream.events that returnListModifier 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 ofList injavax.xml.xpath
Methods injavax.xml.xpath with parameters of typeListUses ofList injdk.dynalink
Methods injdk.dynalink that returnListModifier and TypeMethodDescriptionDynamicLinkerFactory.getAutoLoadingErrors()
Returns a list ofServiceConfigurationError
s that were encountered while loading automatically discovered linkers during the last invocation ofDynamicLinkerFactory.createLinker()
.Methods injdk.dynalink with parameters of typeListModifier and TypeMethodDescriptionvoid
DynamicLinkerFactory.setFallbackLinkers
(List<? extendsGuardingDynamicLinker> fallbackLinkers) Sets the fallback guarding dynamic linkers.void
DynamicLinkerFactory.setPrioritizedLinkers
(List<? extendsGuardingDynamicLinker> prioritizedLinkers) Sets the prioritized guarding dynamic linkers.Uses ofList injdk.dynalink.linker
Classes injdk.dynalink.linker that implement interfaces with type arguments of typeListModifier and TypeClassDescriptionclass
A class acting as a supplier of guarding dynamic linkers that can be automatically loaded by other language runtimes.Methods injdk.dynalink.linker with parameters of typeListModifier and TypeMethodDescriptionGuardedInvocation.dropArguments
(int pos,List<Class<?>> valueTypes) Makes an invocation that drops arguments in both the invocation and the guard (if it exists and has at leastpos
parameters) withMethodHandles.dropArguments(MethodHandle, int, List)
.Uses ofList injdk.dynalink.linker.support
Methods injdk.dynalink.linker.support that returnListModifier and TypeMethodDescriptionstaticList
<GuardingDynamicLinker> CompositeTypeBasedGuardingDynamicLinker.optimize
(Iterable<? extendsGuardingDynamicLinker> linkers) Optimizes a list of type-based linkers.Uses ofList injdk.javadoc.doclet
Methods injdk.javadoc.doclet that returnListModifier and TypeMethodDescriptionDoclet.Option.getNames()
Returns the list of names that may be used to identify the option.Methods injdk.javadoc.doclet with parameters of typeListModifier and TypeMethodDescriptionboolean
Processes the option and arguments as needed.Returns the string representation of a series of instances of this tag to be included in the generated output.Uses ofList injdk.jfr
Modifier and TypeMethodDescriptionAnnotationElement.getAnnotationElements()
Returns an immutable list of annotation elements for thisAnnotationElement
.EventType.getAnnotationElements()
Returns an immutable list of annotation elements for this event type.SettingDescriptor.getAnnotationElements()
Returns an immutable list of annotation elements for this value descriptor.ValueDescriptor.getAnnotationElements()
Returns an immutable list of annotation elements for this value descriptor.EventType.getCategoryNames()
Returns the list of human-readable names that makes up the categories for this event type (for example,"Java Application"
,"Statistics"
).staticList
<Configuration> Configuration.getConfigurations()
Returns an immutable list of predefined configurations for this Java Virtual Machine (JVM).FlightRecorder.getEventTypes()
Returns an immutable list that contains all currently registered events.EventType.getFields()
Returns an immutable list of descriptors that describe the event fields of this event type.ValueDescriptor.getFields()
Returns an immutable list of value descriptors if the type is complex, else an empty list.FlightRecorder.getRecordings()
Returns an immutable list of the available recordings.EventType.getSettingDescriptors()
Returns an immutable list of the setting descriptors that describe the available event settings for this event type.AnnotationElement.getValueDescriptors()
Returns an immutable list of descriptors that describes the annotation values for thisAnnotationElement
.AnnotationElement.getValues()
Returns an immutable list of annotation values in an order that matches the value descriptors for thisAnnotationElement
.Modifier and TypeMethodDescriptionstaticEventFactory
EventFactory.create
(List<AnnotationElement> annotationElements,List<ValueDescriptor> fields) Creates anEventFactory
object.ModifierConstructorDescriptionValueDescriptor
(Class<?> type,String name,List<AnnotationElement> annotations) Constructs a value descriptor, useful for dynamically creating event types and annotations.Uses ofList injdk.jfr.consumer
Methods injdk.jfr.consumer that returnListModifier and TypeMethodDescriptionMetadataEvent.getAddedEventTypes()
Returns a list of added event types since the last metadata event.MetadataEvent.getConfigurations()
Returns a list of configurations.MetadataEvent.getEventTypes()
Returns a list of the current event types being used.RecordedEvent.getFields()
Returns the list of descriptors that describes the fields of the event.RecordedObject.getFields()
Returns an immutable list of the fields for this object.RecordedStackTrace.getFrames()
Returns the frames in the stack trace.MetadataEvent.getRemovedEventTypes()
Returns a list of removed event types since the last metadata event.staticList
<RecordedEvent> RecordingFile.readAllEvents
(Path path) Returns a list of all events in a file.RecordingFile.readEventTypes()
Returns a list of all event types in this recording.Uses ofList injdk.jshell
Methods injdk.jshell that returnListModifier and TypeMethodDescriptionabstractList
<SourceCodeAnalysis.Suggestion> SourceCodeAnalysis.completionSuggestions
(String input, int cursor, int[] anchor) Compute possible follow-ups for the given input.abstractList
<SourceCodeAnalysis.Documentation> SourceCodeAnalysis.documentation
(String input, int cursor, boolean computeJavadoc) Compute documentation for the given user's input.Remove a declaration from the state.Evaluate the input String, including definition and/or execution, if applicable.SourceCodeAnalysis.QualifiedNames.getNames()
Known qualified names for the given simple name in the original code.abstractList
<SourceCodeAnalysis.Highlight> SourceCodeAnalysis.highlights
(String snippet) Returns a collection ofHighlight
s which can be used to color the given snippet.SourceCodeAnalysis.sourceToSnippets
(String input) Converts the source code of a snippet into aSnippet
object (or list ofSnippet
objects in the case of some var declarations, e.g.: int x, y, z;).abstractList
<SourceCodeAnalysis.SnippetWrapper> Returns the wrapper information for the snippet within the input source string.Uses ofList injdk.jshell.execution
Methods injdk.jshell.execution with parameters of typeListModifier and TypeMethodDescriptionprotected void
JdiInitiator.runListenProcess
(String jdiAddress, int jshellControlPort,List<String> remoteVMOptions,JdiInitiator.ProcessStarted setupVM) Create a process that will attach to the given address.Constructors injdk.jshell.execution with parameters of typeListUses ofList injdk.jshell.spi
Methods injdk.jshell.spi that returnListModifier and TypeMethodDescriptionExecutionEnv.extraRemoteVMOptions()
Returns the additional VM options to be used when launching the remote JVM.Uses ofList injdk.management.jfr
Methods injdk.management.jfr that returnListModifier and TypeMethodDescriptionEventTypeInfo.getCategoryNames()
Returns the list of human-readable names that makes up the category for thisEventTypeInfo
(for example,"Java Virtual Machine"
or"Garbage Collector"
).FlightRecorderMXBean.getConfigurations()
Returns the list of predefined configurations for this Java Virtual Machine (JVM).FlightRecorderMXBean.getEventTypes()
Returns the list of currently registered event types.FlightRecorderMXBean.getRecordings()
Returns the list of the available recordings, not necessarily running.EventTypeInfo.getSettingDescriptors()
Returns settings for the event type associated with thisEventTypeInfo
.