Uses of Interface
java.util.List
Packages that useList Package Description com.sun.jdi 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.com.sun.jdi.connect This package defines connections between the virtual machine using the JDI and the target virtual machine.com.sun.jdi.request This package is used to request that a JDI event be sent under specified conditions.com.sun.management This package contains the JDK's extension to the standard implementation of thejava.lang.managementAPI and also defines the management interface for some other components of the platform.com.sun.net.httpserver Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.com.sun.source.doctree Provides interfaces to represent documentation comments as abstract syntax trees (AST).com.sun.source.tree Provides interfaces to represent source code as abstract syntax trees (AST).com.sun.source.util Provides utilities for operations on abstract syntax trees (AST).com.sun.tools.attach Provides the API to attach to a Java™ virtual machine.com.sun.tools.attach.spi Only developers who are defining new attach providers should need to make direct use of this package.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.datatransfer Provides interfaces and classes for transferring data between and within applications.java.awt.desktop Provides interfaces and classes for interaction with various desktop capabilities.java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.java.awt.image Provides classes for creating and modifying images.java.lang Provides classes that are fundamental to the design of the Java programming language.java.lang.invoke Thejava.lang.invokepackage provides low-level primitives for interacting with the Java Virtual Machine.java.lang.management Provides the management interfaces for monitoring and management of theJava virtual machine and other components in the Java runtime.java.lang.module Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.java.net Provides the classes for implementing networking applications.java.net.http HTTP Client and WebSocket APIsjava.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.nio.file.attribute Interfaces and classes providing access to file and file system attributes.java.nio.file.spi Service-provider classes for thejava.nio.filepackage.java.security Provides the classes and interfaces for the security framework.java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.java.time The main API for dates, times, instants, and durations.java.time.chrono Generic API for calendar systems other than the default ISO.java.time.temporal Access to date and time using fields and units, and date time adjusters.java.time.zone Support for time-zones and their rules.java.util 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.java.util.concurrent Utility classes commonly useful in concurrent programming.java.util.logging Provides the classes and interfaces of the Java™ 2 platform's core logging facilities.java.util.stream Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.javax.imageio The main package of the Java Image I/O API.javax.imageio.metadata A package of the Java Image I/O API dealing with reading and writing metadata.javax.imageio.plugins.tiff Public classes used by the built-in TIFF plug-ins.javax.lang.model Classes and hierarchies of packages used to model the Java programming language.javax.lang.model.element Interfaces used to model elements of the Java programming language.javax.lang.model.type Interfaces used to model Java programming language types.javax.lang.model.util Utilities to assist in the processing ofprogram elements andtypes.javax.management Provides the core classes for the Java Management Extensions.javax.management.loading Provides the classes which implement advanced dynamic loading.javax.management.openmbean Provides the open data types and Open MBean descriptor classes.javax.management.relation Provides the definition of the Relation Service.javax.naming.ldap Provides support for LDAPv3 extended operations and controls.javax.net.ssl Provides classes for the secure socket package.javax.script The scripting API consists of interfaces and classes that defineJava™ Scripting Engines and providesa framework for their use in Java applications.javax.smartcardio Java™ Smart Card I/O APIjavax.sound.midi Provides interfaces and classes for I/O, sequencing, and synthesis of MIDI (Musical Instrument Digital Interface) data.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.javax.tools Provides interfaces for tools which can be invoked from a program, for example, compilers.javax.xml.crypto.dsig Classes for generating and validating XML digitalsignatures.javax.xml.crypto.dsig.keyinfo Classes for parsing and processingKeyInfoelements and structures.javax.xml.crypto.dsig.spec Parameter classes for XML digital signatures.javax.xml.stream.events Defines event interfaces for the Streaming API for XML (StAX).javax.xml.xpath Provides anobject-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.jdk.dynalink Contains interfaces and classes that are used to link aninvokedynamiccall site.jdk.dynalink.linker Contains interfaces and classes needed by language runtimes to implement their own language-specific object models and type conversions.jdk.dynalink.linker.support 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.jdk.javadoc.doclet 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.jdk.jfr This package provides classes to create events and control Flight Recorder.jdk.jfr.consumer This package contains classes for consuming Flight Recorder data.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.jdk.jshell.execution Provides implementation support for building JShell execution engines.jdk.jshell.spi Defines the Service Provider Interface for pluggable JShell execution engines.jdk.management.jfr This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).jdk.nashorn.api.tree Nashorn parser API provides interfaces to represent ECMAScript source code as abstract syntax trees (AST) and Parser to parse ECMAScript source scripts.Uses ofList incom.sun.jdi
Methods incom.sun.jdi that returnList Modifier and Type Method Description List<ReferenceType>VirtualMachine. allClasses()Returns all loaded types.List<Connector>VirtualMachineManager. allConnectors()Returns the list of all knownConnectorobjects.List<Field>ReferenceType. allFields()Returns a list containing eachFielddeclared in this type, and its superclasses, implemented interfaces, and/or superinterfaces.List<InterfaceType>ClassType. allInterfaces()Gets the interfaces directly and indirectly implemented by this class.List<Location>Method. allLineLocations()Returns a list containing aLocationobject for each executable source line in this method.List<Location>Method. allLineLocations(String stratum,String sourceName)Returns a list containing aLocationobject for each executable source line in this method.List<Location>ReferenceType. allLineLocations()Returns a list containing aLocationobject for each executable source line in this reference type.List<Location>ReferenceType. allLineLocations(String stratum,String sourceName)Returns a list containing aLocationobject for each executable source line in this reference type.List<Method>ReferenceType. allMethods()Returns a list containing eachMethoddeclared in this type, and its superclasses, implemented interfaces, and/or superinterfaces.defaultList<ModuleReference>VirtualMachine. allModules()Returns all modules.List<ThreadReference>VirtualMachine. allThreads()Returns a list of the currently running threads.List<LocalVariable>Method. arguments()Returns a list containing eachLocalVariablethat is declared as an argument of this method.List<String>Method. argumentTypeNames()Returns a list containing a text representation of the type of each formal parameter of this method.List<Type>Method. argumentTypes()Returns a list containing the type of each formal parameter of this method.List<AttachingConnector>VirtualMachineManager. attachingConnectors()Returns the list of knownAttachingConnectorobjects.List<String>ReferenceType. availableStrata()Return the available strata for this reference type.List<String>PathSearchingVirtualMachine. bootClassPath()Get the boot class path for this virtual machine.List<ReferenceType>VirtualMachine. classesByName(String className)Returns the loaded reference types that match a given name.List<String>PathSearchingVirtualMachine. classPath()Get the class path for this virtual machine.List<VirtualMachine>VirtualMachineManager. connectedVirtualMachines()Lists all target VMs which are connected to the debugger.List<ReferenceType>ClassLoaderReference. definedClasses()Returns a list of all loaded classes that were defined by this class loader.List<Field>ReferenceType. fields()Returns a list containing eachFielddeclared in this type.List<StackFrame>ThreadReference. frames()Returns a List containing eachStackFramein the thread's current call stack.List<StackFrame>ThreadReference. frames(int start, int length)Returns a List containing a range ofStackFramemirrors from the thread's current call stack.List<Value>StackFrame. getArgumentValues()Returns the values of all arguments in this frame.List<Value>ArrayReference. getValues()Returns all of the components in this array.List<Value>ArrayReference. getValues(int index, int length)Returns a range of array components.List<ClassType>InterfaceType. implementors()Gets the currently prepared classes which directly implement this interface.List<ObjectReference>ReferenceType. instances(long maxInstances)Returns instances of this ReferenceType.List<InterfaceType>ClassType. interfaces()Gets the interfaces directly implemented by this class.List<LaunchingConnector>VirtualMachineManager. launchingConnectors()Returns the list of knownLaunchingConnectorobjects.List<ListeningConnector>VirtualMachineManager. listeningConnectors()Returns the list of knownListeningConnectorobjects.List<Location>Method. locationsOfLine(int lineNumber)Returns a List containing allLocationobjects that map to the given line number.List<Location>Method. locationsOfLine(String stratum,String sourceName, int lineNumber)Returns a List containing allLocationobjects that map to the given line number and source name.List<Location>ReferenceType. locationsOfLine(int lineNumber)Returns a List containing allLocationobjects that map to the given line number.List<Location>ReferenceType. locationsOfLine(String stratum,String sourceName, int lineNumber)Returns a List containing allLocationobjects that map to the given line number.List<Method>ReferenceType. methods()Returns a list containing eachMethoddeclared directly in this type.List<Method>ReferenceType. methodsByName(String name)Returns a List containing each visibleMethodthat has the given name.List<Method>ReferenceType. methodsByName(String name,String signature)Returns a List containing each visibleMethodthat has the given name and signature.List<ReferenceType>ReferenceType. nestedTypes()Returns a List containingReferenceTypeobjects that are declared within this type and are currently loaded into the Virtual Machine.List<ObjectReference>ThreadReference. ownedMonitors()Returns a List containing anObjectReferencefor each monitor owned by the thread.List<MonitorInfo>ThreadReference. ownedMonitorsAndFrames()Returns a List containing aMonitorInfoobject for each monitor owned by the thread.List<ObjectReference>ObjectReference. referringObjects(long maxReferrers)Returns objects that directly reference this object.List<String>ReferenceType. sourceNames(String stratum)Gets the identifying names for all the source corresponding to the declaration of this type.List<String>ReferenceType. sourcePaths(String stratum)Gets the paths to the source corresponding to the declaration of this type.List<ClassType>ClassType. subclasses()Gets the currently loaded, direct subclasses of this class.List<InterfaceType>InterfaceType. subinterfaces()Gets the currently prepared interfaces which directly extend this interface.List<InterfaceType>InterfaceType. superinterfaces()Gets the interfaces directly extended by this interface.List<ThreadGroupReference>ThreadGroupReference. threadGroups()Returns a List containing each activeThreadGroupReferencein this thread group.List<ThreadReference>ThreadGroupReference. threads()Returns a List containing aThreadReferencefor each live thread in this thread group.List<ThreadGroupReference>VirtualMachine. topLevelThreadGroups()Returns each thread group which does not have a parent.List<LocalVariable>Method. variables()Returns a list containing eachLocalVariabledeclared in this method.List<LocalVariable>Method. variablesByName(String name)Returns a list containing eachLocalVariableof a given name in this method.List<ReferenceType>ClassLoaderReference. visibleClasses()Returns a list of all classes for which this class loader has been recorded as the initiating loader in the target VM.List<Field>ReferenceType. visibleFields()Returns a list containing each unhidden and unambiguousFieldin this type.List<Method>ReferenceType. visibleMethods()Returns a list containing eachMethoddeclared or inherited by this type.List<LocalVariable>StackFrame. visibleVariables()Returns a list containing eachLocalVariablethat can be accessed from this frame's location.List<ThreadReference>ObjectReference. waitingThreads()Returns a List containing aThreadReferencefor each thread currently waiting for this object's monitor.Methods incom.sun.jdi with parameters of typeList Modifier and Type Method Description Map<Field,Value>ObjectReference. getValues(List<? extendsField> fields)Gets the value of multiple instance and/or static fields in this object.Map<Field,Value>ReferenceType. getValues(List<? extendsField> fields)Map<LocalVariable,Value>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.ValueClassType. invokeMethod(ThreadReference thread,Method method,List<? extendsValue> arguments, int options)Invokes the specified staticMethodin the target VM.defaultValueInterfaceType. invokeMethod(ThreadReference thread,Method method,List<? extendsValue> arguments, int options)Invokes the specified staticMethodin the target VM.ValueObjectReference. invokeMethod(ThreadReference thread,Method method,List<? extendsValue> arguments, int options)Invokes the specifiedMethodon this object in the target VM.ObjectReferenceClassType. newInstance(ThreadReference thread,Method method,List<? extendsValue> arguments, int options)Constructs a new instance of this type, using the given constructorMethodin the target VM.voidArrayReference. setValues(int index,List<? extendsValue> values, int srcIndex, int length)Replaces a range of array components with other values.voidArrayReference. setValues(List<? extendsValue> values)Replaces all array components with other values.Uses ofList incom.sun.jdi.connect
Methods incom.sun.jdi.connect that returnList Modifier and Type Method Description List<String>IllegalConnectorArgumentsException. argumentNames()Return aListcontaining the names of the invalid or inconsistent arguments.List<String>Connector.SelectedArgument. choices()Return the possible values for the argumentConstructors incom.sun.jdi.connect with parameters of typeList Constructor Description IllegalConnectorArgumentsException(String s,List<String> names)Construct anIllegalConnectorArgumentsExceptionwith the specified detail message and aListof names of arguments which are invalid or inconsistent.Uses ofList incom.sun.jdi.request
Methods incom.sun.jdi.request that returnList Modifier and Type Method Description List<AccessWatchpointRequest>EventRequestManager. accessWatchpointRequests()Return an unmodifiable list of the enabled and disabled access watchpoint requests.List<BreakpointRequest>EventRequestManager. breakpointRequests()Return an unmodifiable list of the enabled and disabled breakpoint requests.List<ClassPrepareRequest>EventRequestManager. classPrepareRequests()Return an unmodifiable list of the enabled and disabled class prepare requests.List<ClassUnloadRequest>EventRequestManager. classUnloadRequests()Return an unmodifiable list of the enabled and disabled class unload requests.List<ExceptionRequest>EventRequestManager. exceptionRequests()Return an unmodifiable list of the enabled and disabled exception requests.List<MethodEntryRequest>EventRequestManager. methodEntryRequests()Return an unmodifiable list of the enabled and disabled method entry requests.List<MethodExitRequest>EventRequestManager. methodExitRequests()Return an unmodifiable list of the enabled and disabled method exit requests.List<ModificationWatchpointRequest>EventRequestManager. modificationWatchpointRequests()Return an unmodifiable list of the enabled and disabled modification watchpoint requests.List<MonitorContendedEnteredRequest>EventRequestManager. monitorContendedEnteredRequests()Return an unmodifiable list of the enabled and disabled monitor contended entered requests.List<MonitorContendedEnterRequest>EventRequestManager. monitorContendedEnterRequests()Return an unmodifiable list of the enabled and disabled monitor contended enter requests.List<MonitorWaitedRequest>EventRequestManager. monitorWaitedRequests()Return an unmodifiable list of the enabled and disabled monitor waited requests.List<MonitorWaitRequest>EventRequestManager. monitorWaitRequests()Return an unmodifiable list of the enabled and disabled monitor wait requests.List<StepRequest>EventRequestManager. stepRequests()Return an unmodifiable list of the enabled and disabled step requests.List<ThreadDeathRequest>EventRequestManager. threadDeathRequests()Return an unmodifiable list of the enabled and disabled thread death requests.List<ThreadStartRequest>EventRequestManager. threadStartRequests()Return an unmodifiable list of the enabled and disabled thread start requests.List<VMDeathRequest>EventRequestManager. vmDeathRequests()Return an unmodifiable list of the enabled and disabled VM death requests.Methods incom.sun.jdi.request with parameters of typeList Modifier and Type Method Description voidEventRequestManager. deleteEventRequests(List<? extendsEventRequest> eventRequests)Removes a list ofEventRequests.Uses ofList incom.sun.management
Methods incom.sun.management that returnList Modifier and Type Method Description List<VMOption>HotSpotDiagnosticMXBean. getDiagnosticOptions()Returns a list ofVMOptionobjects for all diagnostic options.Uses ofList incom.sun.net.httpserver
Methods incom.sun.net.httpserver that returnList Modifier and Type Method Description abstractList<Filter>HttpContext. getFilters()returns this context's list of Filters.Constructors incom.sun.net.httpserver with parameters of typeList Constructor Description Chain(List<Filter> filters,HttpHandler handler)Uses ofList incom.sun.source.doctree
Methods incom.sun.source.doctree that returnList Modifier and Type Method Description List<? extendsDocTree>StartElementTree. getAttributes()Returns any attributes defined by this element.List<? extendsDocTree>DocCommentTree. getBlockTags()Returns the block tags for a documentation comment.List<? extendsDocTree>DeprecatedTree. getBody()Returns the description explaining why an item is deprecated.List<? extendsDocTree>DocCommentTree. getBody()Returns the body of a documentation comment, appearing after the first sentence, and before any block tags.List<? extendsDocTree>HiddenTree. getBody()Returns the description explaining why an item is hidden.List<? extendsDocTree>SinceTree. getBody()Returns the text explaining the availability of the item being documented.List<? extendsDocTree>VersionTree. getBody()Returns the body of the tag.List<? extendsDocTree>UnknownBlockTagTree. getContent()Returns the content of an unrecognized block tag.List<? extendsDocTree>UnknownInlineTagTree. getContent()Returns the content of an unrecognized inline tag.List<? extendsDocTree>IndexTree. getDescription()Returns the description, if any.List<? extendsDocTree>ParamTree. getDescription()Returns the description of the parameter.List<? extendsDocTree>ProvidesTree. getDescription()Returns a description of the service type being provided by the module.List<? extendsDocTree>ReturnTree. getDescription()Returns the description of the return value of a method.List<? extendsDocTree>SerialDataTree. getDescription()Returns the description of the serial data.List<? extendsDocTree>SerialFieldTree. getDescription()Returns the description of the serial field.List<? extendsDocTree>SerialTree. getDescription()Returns the description of the field, or the word "include" or "exclude".List<? extendsDocTree>ThrowsTree. getDescription()Returns a description of the reasons why the exception may be thrown.List<? extendsDocTree>UsesTree. getDescription()Returns a description of the use of service type within the module.List<? extendsDocTree>DocCommentTree. getFirstSentence()Returns the first sentence of a documentation comment.defaultList<? extendsDocTree>DocCommentTree. getFullBody()Returns the entire body of a documentation comment, appearing before any block tags, including the first sentence.List<? extendsDocTree>LinkTree. getLabel()Returns the label, if any, of the link.List<? extendsDocTree>AuthorTree. getName()Returns the name of the author.defaultList<? extendsDocTree>DocCommentTree. getPostamble()Returns a list of trees containing the content (if any) following the content of the documentation comment.defaultList<? extendsDocTree>DocCommentTree. getPreamble()Returns a list of trees containing the content (if any) preceding the content of the documentation comment.List<? extendsDocTree>SeeTree. getReference()Returns the reference.List<? extendsDocTree>SummaryTree. getSummary()Returns the summary or the first line of a comment.List<? extendsDocTree>AttributeTree. getValue()Returns the value of the attribute, ornullif the kind is EMPTY.Uses ofList incom.sun.source.tree
Methods incom.sun.source.tree that returnList Modifier and Type Method Description List<? 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.List<? extendsTree>IntersectionTypeTree. getBounds()Returns the bounds of the type.List<? extendsTree>TypeParameterTree. getBounds()Returns the bounds of the type parameter.List<? extendsCaseTree>SwitchTree. getCases()Returns the cases for theswitchstatement.List<? extendsCatchTree>TryTree. getCatches()Returns any catch blocks provided in thetrystatement.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.List<? extendsTree>ErroneousTree. getErrorTrees()Returns any trees that were saved in this node.List<? extendsExpressionTree>ProvidesTree. getImplementationNames()Returns the names of the implementation types being provided.List<? extendsTree>ClassTree. getImplementsClause()Returns the interfaces implemented by this type declaration.List<? extendsImportTree>CompilationUnitTree. getImports()Returns the import declarations appearing in this compilation unit.List<? extendsStatementTree>ForLoopTree. getInitializer()Returns any initializers of theforstatement.List<? extendsExpressionTree>NewArrayTree. getInitializers()Returns the initializer expressions.List<? extendsTree>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<? extendsAnnotationTree>CompilationUnitTree. getPackageAnnotations()Returns the annotations listed on any package declaration at the head of this compilation unit, ornullif 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.List<? extendsTree>TryTree. getResources()Returns any resource declarations provided in thetrystatement.List<? extendsStatementTree>BlockTree. getStatements()Returns the statements comprising this block.List<? extendsStatementTree>CaseTree. getStatements()Returns the statements labeled by the case.List<? extendsExpressionTree>MethodTree. getThrows()Returns the exceptions listed as being thrown by this method.List<? extendsTree>UnionTypeTree. getTypeAlternatives()Returns the alternative type expressions.List<? extendsExpressionTree>MemberReferenceTree. getTypeArguments()Returns the type arguments for the reference.List<? extendsTree>MethodInvocationTree. getTypeArguments()Returns the type arguments for this method invocation.List<? extendsTree>NewClassTree. getTypeArguments()Returns the type arguments for the object being created.List<? extendsTree>ParameterizedTypeTree. getTypeArguments()Returns the type arguments.List<? extendsTree>CompilationUnitTree. getTypeDecls()Returns the type declarations appearing in this compilation unit.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 theforstatement.Methods incom.sun.source.tree that return types with arguments of typeList Modifier and Type Method Description List<? 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 returnList Modifier and Type Method Description List<DocTree>DocTreeFactory. getFirstSentence(List<? extendsDocTree> list)Get the first sentence contained in a list of content.abstractList<DocTree>DocTrees. getFirstSentence(List<? extendsDocTree> list)Returns the list ofDocTreerepresenting the first sentence of a comment.Methods incom.sun.source.util with parameters of typeList Modifier and Type Method Description List<DocTree>DocTreeFactory. getFirstSentence(List<? extendsDocTree> list)Get the first sentence contained in a list of content.abstractList<DocTree>DocTrees. getFirstSentence(List<? extendsDocTree> list)Returns the list ofDocTreerepresenting the first sentence of a comment.AttributeTreeDocTreeFactory. newAttributeTree(Name name,AttributeTree.ValueKind vkind,List<? extendsDocTree> value)Create a newAttributeTreeobject, to represent an HTML attribute in an HTML tag.AuthorTreeDocTreeFactory. newAuthorTree(List<? extendsDocTree> name)Create a newAuthorTreeobject, to represent an{@author }tag.DeprecatedTreeDocTreeFactory. newDeprecatedTree(List<? extendsDocTree> text)Create a newDeprecatedTreeobject, to represent an{@deprecated }tag.DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extendsDocTree> fullBody,List<? extendsDocTree> tags)Create a newDocCommentTreeobject, to represent a complete doc comment.DocCommentTreeDocTreeFactory. newDocCommentTree(List<? extendsDocTree> fullBody,List<? extendsDocTree> tags,List<? extendsDocTree> preamble,List<? extendsDocTree> postamble)Create a newDocCommentTreeobject, to represent the enitire doc comment.ThrowsTreeDocTreeFactory. newExceptionTree(ReferenceTree name,List<? extendsDocTree> description)Create a newExceptionTreeobject, to represent an@exceptiontag.HiddenTreeDocTreeFactory. newHiddenTree(List<? extendsDocTree> text)Create a newHiddenTreeobject, to represent an{@hidden }tag.IndexTreeDocTreeFactory. newIndexTree(DocTree term,List<? extendsDocTree> description)Create a newIndexTreeobject, to represent an{@index }tag.LinkTreeDocTreeFactory. newLinkPlainTree(ReferenceTree ref,List<? extendsDocTree> label)Create a newLinkPlainTreeobject, to represent a{@linkplain }tag.LinkTreeDocTreeFactory. newLinkTree(ReferenceTree ref,List<? extendsDocTree> label)Create a newLinkTreeobject, to represent a{@link }tag.ParamTreeDocTreeFactory. newParamTree(boolean isTypeParameter,IdentifierTree name,List<? extendsDocTree> description)Create a newParamTreeobject, to represent a@paramtag.ProvidesTreeDocTreeFactory. newProvidesTree(ReferenceTree name,List<? extendsDocTree> description)Create a newProvidesTreeobject, to represent a@providestag.ReturnTreeDocTreeFactory. newReturnTree(List<? extendsDocTree> description)Create a newReturnTreeobject, to represent a@returntag.SeeTreeDocTreeFactory. newSeeTree(List<? extendsDocTree> reference)Create a newSeeTreeobject, to represent a@seetag.SerialDataTreeDocTreeFactory. newSerialDataTree(List<? extendsDocTree> description)Create a newSerialDataTreeobject, to represent a@serialDatatag.SerialFieldTreeDocTreeFactory. newSerialFieldTree(IdentifierTree name,ReferenceTree type,List<? extendsDocTree> description)Create a newSerialFieldTreeobject, to represent a@serialFieldtag.SerialTreeDocTreeFactory. newSerialTree(List<? extendsDocTree> description)Create a newSerialTreeobject, to represent a@serialtag.SinceTreeDocTreeFactory. newSinceTree(List<? extendsDocTree> text)Create a newSinceTreeobject, to represent a@sincetag.StartElementTreeDocTreeFactory. newStartElementTree(Name name,List<? extendsDocTree> attrs, boolean selfClosing)Create a newStartElementTreeobject, to represent the start of an HTML element.defaultSummaryTreeDocTreeFactory. newSummaryTree(List<? extendsDocTree> summary)Create a newSummaryTreeobject, to represent a@summarytag.ThrowsTreeDocTreeFactory. newThrowsTree(ReferenceTree name,List<? extendsDocTree> description)Create a newThrowsTreeobject, to represent a@throwstag.UnknownBlockTagTreeDocTreeFactory. newUnknownBlockTagTree(Name name,List<? extendsDocTree> content)Create a newUnknownBlockTagTreeobject, to represent an unrecognized block tag.UnknownInlineTagTreeDocTreeFactory. newUnknownInlineTagTree(Name name,List<? extendsDocTree> content)Create a newUnknownInlineTagTreeobject, to represent an unrecognized inline tag.UsesTreeDocTreeFactory. newUsesTree(ReferenceTree name,List<? extendsDocTree> description)Create a newUsesTreeobject, to represent a@usestag.VersionTreeDocTreeFactory. newVersionTree(List<? extendsDocTree> text)Create a newVersionTreeobject, to represent a{@version }tag.Uses ofList incom.sun.tools.attach
Methods incom.sun.tools.attach that returnList Modifier and Type Method Description staticList<VirtualMachineDescriptor>VirtualMachine. list()Return a list of Java virtual machines.Uses ofList incom.sun.tools.attach.spi
Methods incom.sun.tools.attach.spi that returnList Modifier and Type Method Description abstractList<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
Methods injava.awt that returnList Modifier and Type Method Description List<Image>Window. 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.Methods injava.awt with parameters of typeList Modifier and Type Method Description voidWindow. 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 returnList Modifier and Type Method Description List<DataFlavor>FlavorTable. getFlavorsForNative(String nat)Returns aListofDataFlavors to which the specifiedStringcorresponds.List<DataFlavor>SystemFlavorMap. getFlavorsForNative(String nat)Returns aListofDataFlavors to which the specifiedStringnative can be translated by the data transfer subsystem.List<String>FlavorTable. getNativesForFlavor(DataFlavor flav)Returns aListofStringnatives to which the specifiedDataFlavorcorresponds.List<String>SystemFlavorMap. getNativesForFlavor(DataFlavor flav)Returns aListofStringnatives to which the specifiedDataFlavorcan be translated by the data transfer subsystem.Uses ofList injava.awt.desktop
Methods injava.awt.desktop that returnList Modifier and Type Method Description List<File>FilesEvent. getFiles()Gets the list of files.Constructors injava.awt.desktop with parameters of typeList Constructor Description OpenFilesEvent(List<File> files,String searchTerm)Constructs anOpenFilesEvent.PrintFilesEvent(List<File> files)Constructs aPrintFilesEvent.Uses ofList injava.awt.dnd
Methods injava.awt.dnd that returnList Modifier and Type Method Description protectedList<DataFlavor>DropTargetContext. getCurrentDataFlavorsAsList()This method returns a the currently available DataFlavors of theTransferableoperand as ajava.util.List.List<DataFlavor>DropTargetDragEvent. getCurrentDataFlavorsAsList()This method returns the currentDataFlavors as ajava.util.ListList<DataFlavor>DropTargetDropEvent. getCurrentDataFlavorsAsList()This method returns the currently availableDataFlavors as ajava.util.List.Constructors injava.awt.dnd with parameters of typeList Constructor Description DragGestureEvent(DragGestureRecognizer dgr, int act,Point ori,List<? extendsInputEvent> evs)Constructs aDragGestureEventobject given by theDragGestureRecognizerinstance firing this event, anactparameter representing the user's preferred action, anoriparameter indicating the origin of the drag, and aListof events that comprise the gesture(evsparameter).Uses ofList injava.awt.image
Methods injava.awt.image that returnList Modifier and Type Method Description List<Image>MultiResolutionImage. getResolutionVariants()Gets a readable list of all resolution variants.Uses ofList injava.lang
Methods injava.lang that returnList Modifier and Type Method Description List<String>ProcessBuilder. command()Returns this process builder's operating system program and arguments.List<ModuleLayer>ModuleLayer. parents()Returns the list of this layer's parents unless this is theempty layer, which has no parents and so an empty list is returned.staticList<Process>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.List<Integer>Runtime.Version. version()Returns an unmodifiableListof the integers represented in theversion number.Methods injava.lang with parameters of typeList Modifier and Type Method Description ProcessBuilderProcessBuilder. command(List<String> command)Sets this process builder's operating system program and arguments.staticModuleLayer.ControllerModuleLayer. defineModules(Configuration cf,List<ModuleLayer> parentLayers,Function<String,ClassLoader> clf)Creates a new module layer by defining the modules in the givenConfigurationto the Java virtual machine.staticModuleLayer.ControllerModuleLayer. defineModulesWithManyLoaders(Configuration cf,List<ModuleLayer> parentLayers,ClassLoader parentLoader)Creates a new module layer by defining the modules in the givenConfigurationto the Java virtual machine.staticModuleLayer.ControllerModuleLayer. defineModulesWithOneLoader(Configuration cf,List<ModuleLayer> parentLayers,ClassLoader parentLoader)Creates a new module layer by defining the modules in the givenConfigurationto the Java virtual machine.staticList<Process>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.Constructors injava.lang with parameters of typeList Constructor Description ProcessBuilder(List<String> command)Constructs a process builder with the specified operating system program and arguments.Uses ofList injava.lang.invoke
Methods injava.lang.invoke that returnList Modifier and Type Method Description List<Class<?>>VarHandle. coordinateTypes()Returns the coordinate types for this VarHandle.List<Class<?>>MethodType. parameterList()Presents the parameter types as a list (a convenience method).Methods injava.lang.invoke with parameters of typeList Modifier and Type Method Description MethodTypeMethodType. appendParameterTypes(List<Class<?>> ptypesToInsert)Finds or creates a method type with additional parameter types.staticMethodHandleMethodHandles. 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.staticMethodHandleMethodHandles. dropArgumentsToMatch(MethodHandle target, int skip,List<Class<?>> newTypes, int pos)Adapts a target method handle to match the given parameter type list.MethodTypeMethodType. insertParameterTypes(int num,List<Class<?>> ptypesToInsert)Finds or creates a method type with additional parameter types.ObjectMethodHandle. invokeWithArguments(List<?> arguments)Performs a variable arity invocation, passing the arguments in the given list to the method handle, as if via an inexactinvokefrom a call site which mentions only the typeObject, and whose actual argument count is the length of the argument list.staticMethodTypeMethodType. methodType(Class<?> rtype,List<Class<?>> ptypes)Finds or creates a method type with the given components.Uses ofList injava.lang.management
Methods injava.lang.management that returnList Modifier and Type Method Description staticList<GarbageCollectorMXBean>ManagementFactory. getGarbageCollectorMXBeans()Returns a list ofGarbageCollectorMXBeanobjects in the Java virtual machine.List<String>RuntimeMXBean. getInputArguments()Returns the input arguments passed to the Java virtual machine which does not include the arguments to themainmethod.List<String>PlatformLoggingMXBean. getLoggerNames()Returns the list of the currently registeredlogger names.staticList<MemoryManagerMXBean>ManagementFactory. getMemoryManagerMXBeans()Returns a list ofMemoryManagerMXBeanobjects in the Java virtual machine.staticList<MemoryPoolMXBean>ManagementFactory. getMemoryPoolMXBeans()Returns a list ofMemoryPoolMXBeanobjects in the Java virtual machine.static <T extendsPlatformManagedObject>
List<T>ManagementFactory. getPlatformMXBeans(Class<T> mxbeanInterface)Returns the list of platform MXBeans implementing the givenmxbeanInterfacein 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 themxbeanInterfacethrough the givenMBeanServerConnection.Uses ofList injava.lang.module
Methods injava.lang.module that returnList Modifier and Type Method Description List<Configuration>Configuration. parents()Returns an unmodifiable list of this configuration's parents, in search order.List<String>ModuleDescriptor.Provides. providers()Returns the list of the fully qualified class names of the providers or provider factories.Methods injava.lang.module with parameters of typeList Modifier and Type Method Description ModuleDescriptor.BuilderModuleDescriptor.Builder. provides(String service,List<String> providers)Provides implementations of a service.staticConfigurationConfiguration. resolve(ModuleFinder before,List<Configuration> parents,ModuleFinder after,Collection<String> roots)Resolves a collection of root modules to create a configuration.staticConfigurationConfiguration. 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
Methods injava.net that returnList Modifier and Type Method Description List<HttpCookie>CookieStore. get(URI uri)Retrieve cookies associated with given URI, or whose domain matches the given URI.List<HttpCookie>CookieStore. getCookies()Get all not-expired cookies in cookie store.List<InterfaceAddress>NetworkInterface. getInterfaceAddresses()Get a List of all or a subset of theInterfaceAddressesof 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.List<URI>CookieStore. getURIs()Get all URIs which identify the cookies in this cookie store.staticList<HttpCookie>HttpCookie. parse(String header)Constructs cookies from set-cookie or set-cookie2 header string.abstractList<Proxy>ProxySelector. select(URI uri)Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.Methods injava.net that return types with arguments of typeList Modifier and Type Method Description abstractMap<String,List<String>>CookieHandler. get(URI uri,Map<String,List<String>> requestHeaders)Gets all the applicable cookies from a cookie cache for the specified uri in the request header.Map<String,List<String>>URLConnection. getHeaderFields()Returns an unmodifiable Map of the header fields.abstractMap<String,List<String>>CacheResponse. getHeaders()Returns the response headers as a Map.Map<String,List<String>>URLConnection. getRequestProperties()Returns an unmodifiable Map of general request properties for this connection.Method parameters injava.net with type arguments of typeList Modifier and Type Method Description abstractMap<String,List<String>>CookieHandler. get(URI uri,Map<String,List<String>> requestHeaders)Gets all the applicable cookies from a cookie cache for the specified uri in the request header.abstractCacheResponseResponseCache. get(URI uri,String rqstMethod,Map<String,List<String>> rqstHeaders)Retrieve the cached response based on the requesting uri, request method and request headers.abstract voidCookieHandler. put(URI uri,Map<String,List<String>> responseHeaders)Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.Uses ofList injava.net.http
Methods injava.net.http with type parameters of typeList Modifier and Type Method Description static <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 givensubscriberandfinisherfunction.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 returnList Modifier and Type Method Description List<String>HttpHeaders. allValues(String name)Returns 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 typeList Modifier and Type Method Description Map<String,List<String>>HttpHeaders. map()Returns an unmodifiable multi Map view of this HttpHeaders.staticHttpResponse.BodyHandler<Flow.Publisher<List<ByteBuffer>>>HttpResponse.BodyHandlers. ofPublisher()Returns aBodyHandler<Publisher<List<ByteBuffer>>>that creates aBodySubscriber<Publisher<List<ByteBuffer>>>obtained fromBodySubscribers.ofPublisher().staticHttpResponse.BodySubscriber<Flow.Publisher<List<ByteBuffer>>>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 typeList Modifier and Type Method Description staticHttpResponse.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.staticHttpHeadersHttpHeaders. of(Map<String,List<String>> headerMap,BiPredicate<String,String> filter)Returns an HTTP headers from the given map.Uses ofList injava.nio.file
Methods injava.nio.file that returnList Modifier and Type Method Description List<WatchEvent<?>>WatchKey. pollEvents()Retrieves and removes all pending events for this watch key, returning aListof the events that were retrieved.staticList<String>Files. readAllLines(Path path)Read all lines from a file.staticList<String>Files. readAllLines(Path path,Charset cs)Read all lines from a file.Uses ofList injava.nio.file.attribute
Methods injava.nio.file.attribute that returnList Modifier and Type Method Description List<AclEntry>AclFileAttributeView. getAcl()Reads the access control list.List<String>UserDefinedFileAttributeView. list()Returns a list containing the names of the user-defined attributes.Methods injava.nio.file.attribute with parameters of typeList Modifier and Type Method Description voidAclFileAttributeView. setAcl(List<AclEntry> acl)Updates (replace) the access control list.Uses ofList injava.nio.file.spi
Methods injava.nio.file.spi that returnList Modifier and Type Method Description staticList<FileSystemProvider>FileSystemProvider. installedProviders()Returns a list of the installed file system providers.Uses ofList injava.security
Constructors injava.security with parameters of typeList Constructor Description Service(Provider provider,String type,String algorithm,String className,List<String> aliases,Map<String,String> attributes)Construct a new service.Uses ofList injava.security.cert
Methods injava.security.cert that returnList Modifier and Type Method Description abstractList<? extendsCertificate>CertPath. getCertificates()Returns the list of certificates in this certification path.List<PKIXCertPathChecker>PKIXParameters. getCertPathCheckers()Returns theListof certification path checkers.List<CertStore>PKIXParameters. getCertStores()Returns an immutableListofCertStores that are used to find certificates and CRLs.List<String>X509Certificate. getExtendedKeyUsage()Gets an unmodifiable list of Strings representing the OBJECT IDENTIFIERs of theExtKeyUsageSyntaxfield of the extended key usage extension, (OID = 2.5.29.37).List<Extension>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_FAILoption is set.Methods injava.security.cert that return types with arguments of typeList Modifier and Type Method Description Collection<List<?>>X509Certificate. getIssuerAlternativeNames()Gets an immutable collection of issuer alternative names from theIssuerAltNameextension, (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 theSubjectAltNameextension, (OID = 2.5.29.17).Collection<List<?>>X509CertSelector. getSubjectAlternativeNames()Returns a copy of the subjectAlternativeNames criterion.Methods injava.security.cert with parameters of typeList Modifier and Type Method Description CertPathCertificateFactorySpi. engineGenerateCertPath(List<? extendsCertificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.CertPathCertificateFactory. generateCertPath(List<? extendsCertificate> certificates)Generates aCertPathobject and initializes it with aListofCertificates.voidPKIXParameters. setCertPathCheckers(List<PKIXCertPathChecker> checkers)Sets aListof additional certification path checkers.voidPKIXParameters. setCertStores(List<CertStore> stores)Sets the list ofCertStores to be used in finding certificates and CRLs.voidPKIXRevocationChecker. setOcspExtensions(List<Extension> extensions)Sets the optional OCSP request extensions.Method parameters injava.security.cert with type arguments of typeList Modifier and Type Method Description voidX509CertSelector. setPathToNames(Collection<List<?>> names)Sets the pathToNames criterion.voidX509CertSelector. setSubjectAlternativeNames(Collection<List<?>> names)Sets the subjectAlternativeNames criterion.Uses ofList injava.time
Methods injava.time that returnList Modifier and Type Method Description List<TemporalUnit>Duration. getUnits()Gets the set of units supported by this duration.List<TemporalUnit>Period. getUnits()Gets the set of units supported by this period.Uses ofList injava.time.chrono
Methods injava.time.chrono that returnList Modifier and Type Method Description List<Era>Chronology. eras()Gets the list of eras for the chronology.List<TemporalUnit>ChronoPeriod. getUnits()Gets the set of units supported by this period.Uses ofList injava.time.temporal
Methods injava.time.temporal that returnList Modifier and Type Method Description List<TemporalUnit>TemporalAmount. getUnits()Returns the list of units uniquely defining the value of this TemporalAmount.Uses ofList injava.time.zone
Methods injava.time.zone that returnList Modifier and Type Method Description List<ZoneOffsetTransitionRule>ZoneRules. getTransitionRules()Gets the list of transition rules for years beyond those defined in the transition list.List<ZoneOffsetTransition>ZoneRules. getTransitions()Gets the complete list of fully defined transitions.List<ZoneOffset>ZoneRules. getValidOffsets(LocalDateTime localDateTime)Gets the offset applicable at the specified local date-time in these rules.Methods injava.time.zone with parameters of typeList Modifier and Type Method Description staticZoneRulesZoneRules. of(ZoneOffset baseStandardOffset,ZoneOffset baseWallOffset,List<ZoneOffsetTransition> standardOffsetTransitionList,List<ZoneOffsetTransition> transitionList,List<ZoneOffsetTransitionRule> lastRules)Obtains an instance of a ZoneRules.Uses ofList injava.util
Classes injava.util that implementList Modifier and Type Class Description classAbstractList<E>This class provides a skeletal implementation of theListinterface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).classAbstractSequentialList<E>This class provides a skeletal implementation of theListinterface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).classArrayList<E>Resizable-array implementation of theListinterface.classLinkedList<E>Doubly-linked list implementation of theListandDequeinterfaces.classStack<E>TheStackclass represents a last-in-first-out (LIFO) stack of objects.classVector<E>TheVectorclass implements a growable array of objects.Fields injava.util declared asList Modifier and Type Field Description staticListCollections. EMPTY_LISTThe empty list (immutable).staticList<String>ResourceBundle.Control. FORMAT_CLASSThe class-only formatListcontaining"java.class".staticList<String>ResourceBundle.Control. FORMAT_DEFAULTThe default formatList, which contains the strings"java.class"and"java.properties", in this order.staticList<String>ResourceBundle.Control. FORMAT_PROPERTIESThe properties-only formatListcontaining"java.properties".Methods injava.util that returnList Modifier and Type Method Description static <T> List<T>Arrays. asList(T... a)Returns a fixed-size list backed by the specified array.static <E> List<E>Collections. checkedList(List<E> list,Class<E> type)Returns a dynamically typesafe view of the specified list.static <E> List<E>List. copyOf(Collection<? extends E> coll)Returns anunmodifiable List containing the elements of the given Collection, in its iteration order.static <T> List<T>Collections. emptyList()Returns an empty list (immutable).staticList<Locale>Locale. filter(List<Locale.LanguageRange> priorityList,Collection<Locale> locales)Returns a list of matchingLocaleinstances using the filtering mechanism defined in RFC 4647.staticList<Locale>Locale. filter(List<Locale.LanguageRange> priorityList,Collection<Locale> locales,Locale.FilteringMode mode)Returns a list of matchingLocaleinstances using the filtering mechanism defined in RFC 4647.staticList<String>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.staticList<String>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.List<Locale>ResourceBundle.Control. getCandidateLocales(String baseName,Locale locale)Returns aListofLocales as candidate locales forbaseNameandlocale.List<String>ResourceBundle.Control. getFormats(String baseName)Returns aListofStrings 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 givenpriorityListandmap.static <T> List<T>Collections. nCopies(int n, T o)Returns an immutable list consisting ofncopies 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>Locale.LanguageRange. parse(String ranges)Parses the givenrangesto generate a Language Priority List.staticList<Locale.LanguageRange>Locale.LanguageRange. parse(String ranges,Map<String,List<String>> map)Parses the givenrangesto generate a Language Priority List, and then customizes the list using the givenmap.static <T> List<T>Collections. singletonList(T o)Returns an immutable list containing only the specified object.List<E>AbstractList. subList(int fromIndex, int toIndex)Returns a view of the portion of this list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.List<E>ArrayList. subList(int fromIndex, int toIndex)Returns a view of the portion of this list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.List<E>List. subList(int fromIndex, int toIndex)Returns a view of the portion of this list between the specifiedfromIndex, inclusive, andtoIndex, exclusive.List<E>Vector. subList(int fromIndex, int toIndex)Returns a view of the portion of this List between fromIndex, inclusive, and toIndex, exclusive.static <T> List<T>Collections. synchronizedList(List<T> list)Returns a synchronized (thread-safe) list backed by the specified list.static <T> List<T>Collections. unmodifiableList(List<? extends T> list)Returns anunmodifiable view of the specified list.Methods injava.util with parameters of typeList Modifier and Type Method Description static <T> intCollections. binarySearch(List<? extendsComparable<? super T>> list, T key)Searches the specified list for the specified object using the binary search algorithm.static <T> intCollections. 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> voidCollections. copy(List<? super T> dest,List<? extends T> src)Copies all of the elements from one list into another.static <T> voidCollections. fill(List<? super T> list, T obj)Replaces all of the elements of the specified list with the specified element.staticList<Locale>Locale. filter(List<Locale.LanguageRange> priorityList,Collection<Locale> locales)Returns a list of matchingLocaleinstances using the filtering mechanism defined in RFC 4647.staticList<Locale>Locale. filter(List<Locale.LanguageRange> priorityList,Collection<Locale> locales,Locale.FilteringMode mode)Returns a list of matchingLocaleinstances using the filtering mechanism defined in RFC 4647.staticList<String>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.staticList<String>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.staticResourceBundle.ControlResourceBundle.Control. getControl(List<String> formats)staticResourceBundle.ControlResourceBundle.Control. getNoFallbackControl(List<String> formats)Returns aResourceBundle.Controlin which thegetFormatsmethod returns the specifiedformatsand thegetFallbackLocalemethod returnsnull.static intCollections. 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 intCollections. 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.staticLocaleLocale. lookup(List<Locale.LanguageRange> priorityList,Collection<Locale> locales)Returns aLocaleinstance for the best-matching language tag using the lookup mechanism defined in RFC 4647.staticStringLocale. 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 givenpriorityListandmap.static <T> booleanCollections. replaceAll(List<T> list, T oldVal, T newVal)Replaces all occurrences of one specified value in a list with another.static voidCollections. reverse(List<?> list)Reverses the order of the elements in the specified list.static voidCollections. rotate(List<?> list, int distance)Rotates the elements in the specified list by the specified distance.static voidCollections. shuffle(List<?> list)Randomly permutes the specified list using a default source of randomness.static voidCollections. shuffle(List<?> list,Random rnd)Randomly permute the specified list using the specified source of randomness.static <T extendsComparable<? super T>>
voidCollections. sort(List<T> list)Sorts the specified list into ascending order, according to thenatural ordering of its elements.static <T> voidCollections. sort(List<T> list,Comparator<? super T> c)Sorts the specified list according to the order induced by the specified comparator.static voidCollections. swap(List<?> list, int i, int j)Swaps the elements at the specified positions in the specified list.static <T> List<T>Collections. synchronizedList(List<T> list)Returns a synchronized (thread-safe) list backed by the specified list.static <T> List<T>Collections. unmodifiableList(List<? extends T> list)Returns anunmodifiable view of the specified list.Method parameters injava.util with type arguments of typeList Modifier and Type Method Description staticList<Locale.LanguageRange>Locale.LanguageRange. mapEquivalents(List<Locale.LanguageRange> priorityList,Map<String,List<String>> map)Generates a new customized Language Priority List using the givenpriorityListandmap.staticList<Locale.LanguageRange>Locale.LanguageRange. parse(String ranges,Map<String,List<String>> map)Parses the givenrangesto generate a Language Priority List, and then customizes the list using the givenmap.Uses ofList injava.util.concurrent
Classes injava.util.concurrent that implementList Modifier and Type Class Description classCopyOnWriteArrayList<E>A thread-safe variant ofArrayListin 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 returnList Modifier and Type Method Description List<Flow.Subscriber<? superT>>SubmissionPublisher. getSubscribers()Returns a list of current subscribers for monitoring and tracking purposes, not for invokingFlow.Subscribermethods on the subscribers.<T> List<Future<T>>ExecutorService. invokeAll(Collection<? extendsCallable<T>> tasks)Executes the given tasks, returning a list of Futures holding their status and results when all complete.<T> List<Future<T>>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.<T> List<Future<T>>ForkJoinPool. invokeAll(Collection<? extendsCallable<T>> tasks)List<Runnable>ExecutorService. shutdownNow()Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.List<Runnable>ForkJoinPool. shutdownNow()Possibly attempts to cancel and/or stop all tasks, and reject all subsequently submitted tasks.List<Runnable>ScheduledThreadPoolExecutor. shutdownNow()Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.List<Runnable>ThreadPoolExecutor. shutdownNow()Attempts to stop all actively executing tasks, halts the processing of waiting tasks, and returns a list of the tasks that were awaiting execution.List<E>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 returnList Modifier and Type Method Description List<String>LoggingMXBean. getLoggerNames()Deprecated.Returns the list of currently registered logger names.Uses ofList injava.util.stream
Methods injava.util.stream that return types with arguments of typeList Modifier and Type Method Description static <T,K>
Collector<T,?,Map<K,List<T>>>Collectors. groupingBy(Function<? super T,? extends K> classifier)Returns aCollectorimplementing 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 concurrentCollectorimplementing a "group by" operation on input elements of typeT, grouping elements according to a classification function.static <T> Collector<T,?,Map<Boolean,List<T>>>Collectors. partitioningBy(Predicate<? super T> predicate)Returns aCollectorwhich partitions the input elements according to aPredicate, and organizes them into aMap<Boolean, List<T>>.static <T> Collector<T,?,List<T>>Collectors. toList()Returns aCollectorthat accumulates the input elements into a newList.static <T> Collector<T,?,List<T>>Collectors. toUnmodifiableList()Returns aCollectorthat accumulates the input elements into anunmodifiable List in encounter order.Uses ofList injavax.imageio
Fields injavax.imageio declared asList Modifier and Type Field Description protectedList<IIOReadProgressListener>ImageReader. progressListenersAListof currently registeredIIOReadProgressListeners, initialized by default tonull, which is synonymous with an emptyList.protectedList<IIOWriteProgressListener>ImageWriter. progressListenersAListof currently registeredIIOWriteProgressListeners, initialized by defaultnull, which is synonymous with an emptyList.protectedList<? extendsBufferedImage>IIOImage. thumbnailsAListofBufferedImagethumbnails, ornull.protectedList<IIOReadUpdateListener>ImageReader. updateListenersAListof currently registeredIIOReadUpdateListeners, initialized by default tonull, which is synonymous with an emptyList.protectedList<IIOReadWarningListener>ImageReader. warningListenersAListof currently registeredIIOReadWarningListeners, initialized by default tonull, which is synonymous with an emptyList.protectedList<IIOWriteWarningListener>ImageWriter. warningListenersAListof currently registeredIIOWriteWarningListeners, initialized by default tonull, which is synonymous with an emptyList.protectedList<Locale>ImageReader. warningLocalesAListof theLocales associated with each currently registeredIIOReadWarningListener, initialized by default tonull, which is synonymous with an emptyList.protectedList<Locale>ImageWriter. warningLocalesAListofLocales, one for each element ofwarningListeners, initialized by defaultnull, which is synonymous with an emptyList.Methods injavax.imageio that returnList Modifier and Type Method Description List<? extendsBufferedImage>IIOImage. getThumbnails()Returns the currentListof thumbnailBufferedImages, ornullif none is set.Methods injavax.imageio with parameters of typeList Modifier and Type Method Description voidImageWriter. 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.voidImageWriter. 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.voidIIOImage. setThumbnails(List<? extendsBufferedImage> thumbnails)Sets the list of thumbnails to a newListofBufferedImages, or tonull.Constructors injavax.imageio with parameters of typeList Constructor Description IIOImage(Raster raster,List<? extendsBufferedImage> thumbnails,IIOMetadata metadata)Constructs anIIOImagecontaining aRaster, and thumbnails and metadata associated with it.IIOImage(RenderedImage image,List<? extendsBufferedImage> thumbnails,IIOMetadata metadata)Constructs anIIOImagecontaining aRenderedImage, and thumbnails and metadata associated with it.Uses ofList injavax.imageio.metadata
Methods injavax.imageio.metadata with parameters of typeList Modifier and Type Method Description protected voidIIOMetadataFormatImpl. 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> voidIIOMetadataFormatImpl. addObjectValue(String elementName,Class<T> classType, boolean required, T defaultValue,List<? extends T> enumeratedValues)Allows anObjectreference 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 returnList Modifier and Type Method Description List<TIFFTagSet>TIFFImageReadParam. getAllowedTagSets()Returns aListcontaining the allowedTIFFTagSetobjects.Constructors injavax.imageio.plugins.tiff with parameters of typeList Constructor Description TIFFTagSet(List<TIFFTag> tags)Constructs aTIFFTagSet, given aListofTIFFTagobjects.Uses ofList injavax.lang.model
Methods injavax.lang.model that returnList Modifier and Type Method Description List<? extendsAnnotationMirror>AnnotatedConstruct. getAnnotationMirrors()Returns the annotations that aredirectly present on this construct.Uses ofList injavax.lang.model.element
Methods injavax.lang.model.element that returnList Modifier and Type Method Description List<? 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.List<? extendsElement>Element. getEnclosedElements()Returns the elements that are, loosely speaking, directly enclosed by this element.List<? extendsElement>ModuleElement. getEnclosedElements()Returns the packages within this module.List<? extendsElement>PackageElement. getEnclosedElements()Returns thetop-level classes and interfaces within this package.List<? extendsElement>TypeElement. getEnclosedElements()Returns the fields, methods, constructors, and member types 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.List<? extendsModuleElement>ModuleElement.ExportsDirective. getTargetModules()Returns the specific modules to which the package is being exported, or null, 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 or null, 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'sthrowsclause 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 type element in declaration order.Methods injavax.lang.model.element with parameters of typeList Modifier and Type Method Description RAnnotationValueVisitor. 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 returnList Modifier and Type Method Description List<? extendsTypeMirror>UnionType. getAlternatives()Return the alternatives comprising this union type.List<? extendsTypeMirror>IntersectionType. getBounds()Return 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'sthrowsclause.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 typeList Constructor Description MirroredTypesException(List<? extendsTypeMirror> types)Constructs a new MirroredTypesException for the specified types.Uses ofList injavax.lang.model.util
Methods injavax.lang.model.util that returnList Modifier and Type Method Description staticList<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.staticList<ModuleElement.ExportsDirective>ElementFilter. exportsIn(Iterable<? extendsModuleElement.Directive> directives)Returns a list ofexportsdirectives indirectives.staticList<VariableElement>ElementFilter. fieldsIn(Iterable<? extendsElement> elements)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.List<? extendsElement>Elements. getAllMembers(TypeElement type)Returns all members of a type element, whether inherited or declared directly.staticList<ExecutableElement>ElementFilter. methodsIn(Iterable<? extendsElement> elements)Returns a list of methods inelements.staticList<ModuleElement>ElementFilter. modulesIn(Iterable<? extendsElement> elements)Returns a list of modules inelements.staticList<ModuleElement.OpensDirective>ElementFilter. opensIn(Iterable<? extendsModuleElement.Directive> directives)Returns a list ofopensdirectives indirectives.staticList<PackageElement>ElementFilter. packagesIn(Iterable<? extendsElement> elements)Returns a list of packages inelements.staticList<ModuleElement.ProvidesDirective>ElementFilter. providesIn(Iterable<? extendsModuleElement.Directive> directives)Returns a list ofprovidesdirectives indirectives.staticList<ModuleElement.RequiresDirective>ElementFilter. requiresIn(Iterable<? extendsModuleElement.Directive> directives)Returns a list ofrequiresdirectives indirectives.staticList<TypeElement>ElementFilter. typesIn(Iterable<? extendsElement> elements)Returns a list of types inelements.staticList<ModuleElement.UsesDirective>ElementFilter. usesIn(Iterable<? extendsModuleElement.Directive> directives)Returns a list ofusesdirectives indirectives.Methods injavax.lang.model.util with parameters of typeList Modifier and Type Method Description RSimpleAnnotationValueVisitor6. visitArray(List<? extendsAnnotationValue> vals,P p)Visits an array value in an annotation.Uses ofList injavax.management
Classes injavax.management that implementList Modifier and Type Class Description classAttributeListRepresents a list of values for attributes of an MBean.Methods injavax.management that returnList Modifier and Type Method Description List<Attribute>AttributeList. asList()Return a view of this list as aList<Attribute>.Constructors injavax.management with parameters of typeList Constructor Description AttributeList(List<Attribute> list)Constructs anAttributeListcontaining the elements of theListspecified, in the order in which they are returned by theList's iterator.Uses ofList injavax.management.loading
Methods injavax.management.loading that returnList Modifier and Type Method Description List<String>MLetContent. getParameterTypes()Gets the list of values of theTYPEattribute in each nested <PARAM> tag within theMLETtag.List<String>MLetContent. getParameterValues()Gets the list of values of theVALUEattribute in each nested <PARAM> tag within theMLETtag.Constructors injavax.management.loading with parameters of typeList Constructor Description MLetContent(URL url,Map<String,String> attributes,List<String> types,List<String> values)Creates anMLetinstance initialized with attributes read from anMLETtag in an MLet text file.Uses ofList injavax.management.openmbean
Fields injavax.management.openmbean declared asList Modifier and Type Field Description staticList<String>OpenType. ALLOWED_CLASSNAMES_LISTList of the fully qualified names of the Java classes allowed for open data values.Methods injavax.management.openmbean that returnList Modifier and Type Method Description List<String>TabularType. getIndexNames()Returns, in the same order as was given to this instance's constructor, an unmodifiable List of the names of the items the values of which are used to uniquely index each row element of tabular data values described by thisTabularTypeinstance.Uses ofList injavax.management.relation
Classes injavax.management.relation that implementList Modifier and Type Class Description classRoleListA RoleList represents a list of roles (Role objects).classRoleUnresolvedListA 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 returnList Modifier and Type Method Description List<Role>RoleList. asList()Return a view of this list as aList<Role>.List<RoleUnresolved>RoleUnresolvedList. asList()Return a view of this list as aList<RoleUnresolved>.List<String>RelationService. findRelationsOfType(String relationTypeName)Returns the relation ids for relations of the given type.List<String>RelationServiceMBean. findRelationsOfType(String relationTypeName)Returns the relation ids for relations of the given type.List<String>RelationService. getAllRelationIds()Returns all the relation ids for all the relations handled by the Relation Service.List<String>RelationServiceMBean. getAllRelationIds()Returns all the relation ids for all the relations handled by the Relation Service.List<String>RelationService. getAllRelationTypeNames()Retrieves names of all known relation types.List<String>RelationServiceMBean. getAllRelationTypeNames()Retrieves names of all known relation types.List<ObjectName>RelationNotification. getMBeansToUnregister()Returns the list of ObjectNames of MBeans expected to be unregistered due to a relation removal (only for relation removal).List<ObjectName>RelationNotification. getNewRoleValue()Returns new value of updated role (only for role update).List<ObjectName>RelationNotification. getOldRoleValue()Returns old value of updated role (only for role update).List<ObjectName>Relation. getRole(String roleName)Retrieves role value for given role name.List<ObjectName>RelationService. getRole(String relationId,String roleName)Retrieves role value for given role name in given relation.List<ObjectName>RelationServiceMBean. getRole(String relationId,String roleName)Retrieves role value for given role name in given relation.List<ObjectName>RelationSupport. getRole(String roleName)Retrieves role value for given role name.List<RoleInfo>RelationService. getRoleInfos(String relationTypeName)Retrieves list of role infos (RoleInfo objects) of a given relation type.List<RoleInfo>RelationServiceMBean. getRoleInfos(String relationTypeName)Retrieves list of role infos (RoleInfo objects) of a given relation type.List<RoleInfo>RelationType. getRoleInfos()Returns the list of role definitions (ArrayList of RoleInfo objects).List<RoleInfo>RelationTypeSupport. getRoleInfos()Returns the list of role definitions (ArrayList of RoleInfo objects).List<ObjectName>Role. getRoleValue()Retrieves role value.List<ObjectName>RoleUnresolved. getRoleValue()Retrieves role value.Methods injavax.management.relation that return types with arguments of typeList Modifier and Type Method Description Map<ObjectName,List<String>>RelationService. findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the MBeans associated to given one in a relation.Map<ObjectName,List<String>>RelationServiceMBean. findAssociatedMBeans(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the MBeans associated to given one in a relation.Map<String,List<String>>RelationService. findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the relations where a given MBean is referenced.Map<String,List<String>>RelationServiceMBean. findReferencingRelations(ObjectName mbeanName,String relationTypeName,String roleName)Retrieves the relations where a given MBean is referenced.Map<ObjectName,List<String>>Relation. getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationService. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationServiceMBean. getReferencedMBeans(String relationId)Retrieves MBeans referenced in the various roles of the relation.Map<ObjectName,List<String>>RelationSupport. getReferencedMBeans()Retrieves MBeans referenced in the various roles of the relation.Methods injavax.management.relation with parameters of typeList Modifier and Type Method Description staticStringRole. roleValueToString(List<ObjectName> roleValue)Returns a string for the given role value.voidRelationService. sendRelationRemovalNotification(String relationId,List<ObjectName> unregMBeanList)Sends a notification (RelationNotification) for a relation removal.voidRelationServiceMBean. sendRelationRemovalNotification(String relationId,List<ObjectName> unregMBeanList)Sends a notification (RelationNotification) for a relation removal.voidRelationService. sendRoleUpdateNotification(String relationId,Role newRole,List<ObjectName> oldValue)Sends a notification (RelationNotification) for a role update in the given relation.voidRelationServiceMBean. sendRoleUpdateNotification(String relationId,Role newRole,List<ObjectName> oldRoleValue)Sends a notification (RelationNotification) for a role update in the given relation.voidRole. setRoleValue(List<ObjectName> roleValue)Sets role value.voidRoleUnresolved. setRoleValue(List<ObjectName> value)Sets role value.voidRelationService. 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.voidRelationServiceMBean. 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 typeList Constructor Description RelationNotification(String notifType,Object sourceObj, long sequence, long timeStamp,String message,String id,String typeName,ObjectName objectName,String name,List<ObjectName> newValue,List<ObjectName> oldValue)Creates a notification for a role update in a relation.RelationNotification(String notifType,Object sourceObj, long sequence, long timeStamp,String message,String id,String typeName,ObjectName objectName,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.RoleList(List<Role> list)Constructs aRoleListcontaining the elements of theListspecified, 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 aRoleUnresolvedListcontaining the elements of theListspecified, in the order in which they are returned by theList's iterator.Uses ofList injavax.naming.ldap
Methods injavax.naming.ldap that returnList Modifier and Type Method Description List<Rdn>LdapName. getRdns()Retrieves the list of relative distinguished names.Methods injavax.naming.ldap with parameters of typeList Modifier and Type Method Description NameLdapName. addAll(int posn,List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- at a specified position within this name.NameLdapName. addAll(List<Rdn> suffixRdns)Adds the RDNs of a name -- in order -- to the end of this name.booleanLdapName. endsWith(List<Rdn> rdns)Determines whether the specified RDN sequence forms a suffix of this LDAP name.booleanLdapName. startsWith(List<Rdn> rdns)Determines whether the specified RDN sequence forms a prefix of this LDAP name.Constructors injavax.naming.ldap with parameters of typeList Constructor Description LdapName(List<Rdn> rdns)Constructs an LDAP name given its parsed RDN components.Uses ofList injavax.net.ssl
Methods injavax.net.ssl that returnList Modifier and Type Method Description List<KeyStore.Builder>KeyStoreBuilderParameters. getParameters()Return the unmodifiable List of theKeyStore.Builders encapsulated by this object.List<SNIServerName>ExtendedSSLSession. getRequestedServerNames()Obtains aListcontaining allSNIServerNames of the requested Server Name Indication (SNI) extension.List<SNIServerName>SSLParameters. getServerNames()Returns aListcontaining allSNIServerNames of the Server Name Indication (SNI) parameter, or null if none has been set.List<byte[]>ExtendedSSLSession. getStatusResponses()Returns aListcontaining 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 typeList Modifier and Type Method Description BiFunction<SSLEngine,List<String>,String>SSLEngine. getHandshakeApplicationProtocolSelector()Retrieves the callback function that selects an application protocol value during a SSL/TLS/DTLS handshake.BiFunction<SSLSocket,List<String>,String>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 typeList Modifier and Type Method Description voidSSLParameters. setServerNames(List<SNIServerName> serverNames)Sets the desiredSNIServerNames of the Server Name Indication (SNI) parameter.Method parameters injavax.net.ssl with type arguments of typeList Modifier and Type Method Description voidSSLEngine. setHandshakeApplicationProtocolSelector(BiFunction<SSLEngine,List<String>,String> selector)Registers a callback function that selects an application protocol value for a SSL/TLS/DTLS handshake.voidSSLSocket. 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 typeList Constructor Description KeyStoreBuilderParameters(List<KeyStore.Builder> parameters)Construct new KeyStoreBuilderParameters from a List ofKeyStore.Builders.Uses ofList injavax.script
Methods injavax.script that returnList Modifier and Type Method Description List<ScriptEngineFactory>ScriptEngineManager. getEngineFactories()Returns a list whose elements are instances of all theScriptEngineFactoryclasses found by the discovery mechanism.List<String>ScriptEngineFactory. getExtensions()Returns an immutable list of filename extensions, which generally identify scripts written in the language supported by thisScriptEngine.List<String>ScriptEngineFactory. getMimeTypes()Returns an immutable list of mimetypes, associated with scripts that can be executed by the engine.List<String>ScriptEngineFactory. getNames()Returns an immutable list of short names for theScriptEngine, which may be used to identify theScriptEngineby theScriptEngineManager.List<Integer>ScriptContext. getScopes()Returns immutableListof all the valid values for scope in the ScriptContext.Uses ofList injavax.smartcardio
Methods injavax.smartcardio that returnList Modifier and Type Method Description List<CardTerminal>CardTerminals. 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 returnList Modifier and Type Method Description List<Receiver>MidiDevice. getReceivers()Returns all currently active, non-closed receivers connected with thisMidiDevice.List<Transmitter>MidiDevice. getTransmitters()Returns all currently active, non-closed transmitters connected with thisMidiDevice.Uses ofList injavax.swing
Methods injavax.swing that returnList Modifier and Type Method Description List<?>SpinnerListModel. getList()Returns theListthat defines the sequence for this model.List<E>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 typeList Modifier and Type Method Description protected voidSwingWorker. process(List<V> chunks)Receives data chunks from thepublishmethod asynchronously on theEvent Dispatch Thread.voidSpinnerListModel. setList(List<?> list)Changes the list that defines this sequence and resets the index of the modelsvalueto zero.voidDefaultRowSorter. setSortKeys(List<? extendsRowSorter.SortKey> sortKeys)Sets the sort keys.abstract voidRowSorter. setSortKeys(List<? extendsRowSorter.SortKey> keys)Sets the current sort keys.Constructors injavax.swing with parameters of typeList Constructor Description SpinnerListModel(List<?> values)Constructs aSpinnerModelwhose sequence of values is defined by the specifiedList.Uses ofList injavax.tools
Methods injavax.tools that returnList Modifier and Type Method Description List<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 returnList Modifier and Type Method Description List<XMLStructure>SignatureProperty. getContent()Returns anunmodifiable listof one or moreXMLStructures that are contained in thisSignatureProperty.List<XMLStructure>XMLObject. getContent()Returns anunmodifiable listofXMLStructures contained in thisXMLObject, which represent elements from any namespace.List<XMLObject>XMLSignature. getObjects()List<SignatureProperty>SignatureProperties. getProperties()Returns anunmodifiable listof one or moreSignaturePropertys that are contained in thisSignatureProperties.List<Reference>Manifest. getReferences()List<Reference>SignedInfo. getReferences()Returns anunmodifiable listof one or moreReferences.List<Transform>Reference. getTransforms()Methods injavax.xml.crypto.dsig with parameters of typeList Modifier and Type Method Description abstractManifestXMLSignatureFactory. newManifest(List<? extendsReference> references)Creates aManifestcontaining the specified list ofReferences.abstractManifestXMLSignatureFactory. newManifest(List<? extendsReference> references,String id)Creates aManifestcontaining the specified list ofReferences and optional id.abstractReferenceXMLSignatureFactory. newReference(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id)Creates aReferencewith the specified parameters.abstractReferenceXMLSignatureFactory. newReference(String uri,DigestMethod dm,List<? extendsTransform> transforms,String type,String id, byte[] digestValue)Creates aReferencewith the specified parameters and pre-calculated digest value.abstractReferenceXMLSignatureFactory. newReference(String uri,DigestMethod dm,List<? extendsTransform> appliedTransforms,Data result,List<? extendsTransform> transforms,String type,String id)Creates aReferencewith the specified parameters.abstractSignaturePropertiesXMLSignatureFactory. newSignatureProperties(List<? extendsSignatureProperty> properties,String id)Creates aSignaturePropertiescontaining the specified list ofSignaturePropertys and optional id.abstractSignaturePropertyXMLSignatureFactory. newSignatureProperty(List<? extendsXMLStructure> content,String target,String id)Creates aSignaturePropertycontaining the specified list ofXMLStructures, target URI and optional id.abstractSignedInfoXMLSignatureFactory. newSignedInfo(CanonicalizationMethod cm,SignatureMethod sm,List<? extendsReference> references)Creates aSignedInfowith the specified canonicalization and signature methods, and list of one or more references.abstractSignedInfoXMLSignatureFactory. newSignedInfo(CanonicalizationMethod cm,SignatureMethod sm,List<? extendsReference> references,String id)Creates aSignedInfowith the specified parameters.abstractXMLObjectXMLSignatureFactory. newXMLObject(List<? extendsXMLStructure> content,String id,String mimeType,String encoding)Creates anXMLObjectfrom the specified parameters.abstractXMLSignatureXMLSignatureFactory. newXMLSignature(SignedInfo si,KeyInfo ki,List<? extendsXMLObject> objects,String id,String signatureValueId)Creates anXMLSignatureand initializes it with the specified parameters.Uses ofList injavax.xml.crypto.dsig.keyinfo
Methods injavax.xml.crypto.dsig.keyinfo that returnList Modifier and Type Method Description List<XMLStructure>KeyInfo. getContent()Returns anunmodifiable listcontaining the key information.List<?>X509Data. getContent()Returns anunmodifiable listof the content in thisX509Data.List<XMLStructure>PGPData. getExternalElements()Returns anunmodifiable listofXMLStructures representing elements from an external namespace.List<Transform>RetrievalMethod. getTransforms()Methods injavax.xml.crypto.dsig.keyinfo with parameters of typeList Modifier and Type Method Description abstractKeyInfoKeyInfoFactory. newKeyInfo(List<? extendsXMLStructure> content)Creates aKeyInfocontaining the specified list of key information types.abstractKeyInfoKeyInfoFactory. newKeyInfo(List<? extendsXMLStructure> content,String id)Creates aKeyInfocontaining the specified list of key information types and optional id.abstractPGPDataKeyInfoFactory. newPGPData(byte[] keyId, byte[] keyPacket,List<? extendsXMLStructure> other)Creates aPGPDatafrom the specified PGP public key identifier, and optional key material packet and list of external elements.abstractPGPDataKeyInfoFactory. newPGPData(byte[] keyPacket,List<? extendsXMLStructure> other)Creates aPGPDatafrom the specified PGP key material packet and optional list of external elements.abstractRetrievalMethodKeyInfoFactory. newRetrievalMethod(String uri,String type,List<? extendsTransform> transforms)Creates aRetrievalMethodfrom the specified parameters.abstractX509DataKeyInfoFactory. newX509Data(List<?> content)Creates aX509Datacontaining the specified list of X.509 content.Uses ofList injavax.xml.crypto.dsig.spec
Methods injavax.xml.crypto.dsig.spec that returnList Modifier and Type Method Description List<String>ExcC14NParameterSpec. getPrefixList()Returns the inclusive namespace prefix list.List<XPathType>XPathFilter2ParameterSpec. getXPathList()Returns a list of one or moreXPathTypeobjects.Constructors injavax.xml.crypto.dsig.spec with parameters of typeList Constructor Description ExcC14NParameterSpec(List<String> prefixList)Creates aExcC14NParameterSpecwith the specified list of prefixes.XPathFilter2ParameterSpec(List<XPathType> xPathList)Creates anXPathFilter2ParameterSpec.Uses ofList injavax.xml.stream.events
Methods injavax.xml.stream.events that returnList Modifier and Type Method Description List<EntityDeclaration>DTD. getEntities()Return a List containing the general entities, both external and internal, declared in the DTD.List<NotationDeclaration>DTD. getNotations()Return a List containing the notations declared in the DTD.Uses ofList injavax.xml.xpath
Methods injavax.xml.xpath with parameters of typeList Modifier and Type Method Description ObjectXPathFunction. evaluate(List<?> args)Evaluate the function with the specified arguments.Uses ofList injdk.dynalink
Methods injdk.dynalink that returnList Modifier and Type Method Description List<ServiceConfigurationError>DynamicLinkerFactory. getAutoLoadingErrors()Returns a list ofServiceConfigurationErrors that were encountered while loading automatically discovered linkers during the last invocation ofDynamicLinkerFactory.createLinker().Methods injdk.dynalink with parameters of typeList Modifier and Type Method Description voidDynamicLinkerFactory. setFallbackLinkers(List<? extendsGuardingDynamicLinker> fallbackLinkers)Sets the fallback guarding dynamic linkers.voidDynamicLinkerFactory. setPrioritizedLinkers(List<? extendsGuardingDynamicLinker> prioritizedLinkers)Sets the prioritized guarding dynamic linkers.Uses ofList injdk.dynalink.linker
Methods injdk.dynalink.linker with parameters of typeList Modifier and Type Method Description GuardedInvocationGuardedInvocation. 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 leastposparameters) withMethodHandles.dropArguments(MethodHandle, int, List).Uses ofList injdk.dynalink.linker.support
Methods injdk.dynalink.linker.support that returnList Modifier and Type Method Description staticList<GuardingDynamicLinker>CompositeTypeBasedGuardingDynamicLinker. optimize(Iterable<? extendsGuardingDynamicLinker> linkers)Optimizes a list of type-based linkers.Uses ofList injdk.javadoc.doclet
Methods injdk.javadoc.doclet that returnList Modifier and Type Method Description List<String>Doclet.Option. getNames()Returns the list of names that may be used to identify the option.Methods injdk.javadoc.doclet with parameters of typeList Modifier and Type Method Description booleanDoclet.Option. process(String option,List<String> arguments)Processes the option and arguments as needed.StringTaglet. toString(List<? extendsDocTree> tags,Element element)Returns the string representation of a series of instances of this tag to be included in the generated output.Uses ofList injdk.jfr
Methods injdk.jfr that returnList Modifier and Type Method Description List<AnnotationElement>AnnotationElement. getAnnotationElements()Returns an immutable list of annotation elements for thisAnnotationElement.List<AnnotationElement>EventType. getAnnotationElements()Returns an immutable list of annotation elements for this event type.List<AnnotationElement>SettingDescriptor. getAnnotationElements()Returns an immutable list of annotation elements for this value descriptor.List<AnnotationElement>ValueDescriptor. getAnnotationElements()Returns an immutable list of annotation elements for this value descriptor.List<String>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).List<EventType>FlightRecorder. getEventTypes()Returns an immutable list that contains all currently registered events.List<ValueDescriptor>EventType. getFields()Returns an immutable list of descriptors that describe the event fields of this event type.List<ValueDescriptor>ValueDescriptor. getFields()Returns an immutable list of value descriptors if the type is complex, else an empty list.List<Recording>FlightRecorder. getRecordings()Returns an immutable list of the available recordings.List<SettingDescriptor>EventType. getSettingDescriptors()Returns an immutable list of the setting descriptors that describe the available event settings for this event type.List<ValueDescriptor>AnnotationElement. getValueDescriptors()Returns an immutable list of descriptors that describes the annotation values for thisAnnotationElement.List<Object>AnnotationElement. getValues()Returns an immutable list of annotation values in an order that matches the value descriptors for thisAnnotationElement.Methods injdk.jfr with parameters of typeList Modifier and Type Method Description staticEventFactoryEventFactory. create(List<AnnotationElement> annotationElements,List<ValueDescriptor> fields)Creates anEventFactoryobject.Constructors injdk.jfr with parameters of typeList Constructor Description ValueDescriptor(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 returnList Modifier and Type Method Description List<ValueDescriptor>RecordedEvent. getFields()Returns the list of descriptors that describes the fields of the event.List<ValueDescriptor>RecordedObject. getFields()Returns an immutable list of the fields for this object.List<RecordedFrame>RecordedStackTrace. getFrames()Returns the frames in the stack trace.staticList<RecordedEvent>RecordingFile. readAllEvents(Path path)Returns a list of all events in a file.List<EventType>RecordingFile. readEventTypes()Returns a list of all event types in this recording.Uses ofList injdk.jshell
Methods injdk.jshell that returnList Modifier and Type Method Description abstractList<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.List<SnippetEvent>JShell. drop(Snippet snippet)Remove a declaration from the state.List<SnippetEvent>JShell. eval(String input)Evaluate the input String, including definition and/or execution, if applicable.List<String>SourceCodeAnalysis.QualifiedNames. getNames()Known qualified names for the given simple name in the original code.abstractList<Snippet>SourceCodeAnalysis. sourceToSnippets(String input)Converts the source code of a snippet into aSnippetobject (or list ofSnippetobjects in the case of some var declarations, e.g.: int x, y, z;).abstractList<SourceCodeAnalysis.SnippetWrapper>SourceCodeAnalysis. wrappers(String input)Returns the wrapper information for the snippet within the input source string.Uses ofList injdk.jshell.execution
Constructors injdk.jshell.execution with parameters of typeList Constructor Description JdiInitiator(int port,List<String> remoteVMOptions,String remoteAgent, boolean isLaunch,String host, int timeout,Map<String,String> customConnectorArgs)Start the remote agent and establish a JDI connection to it.Uses ofList injdk.jshell.spi
Methods injdk.jshell.spi that returnList Modifier and Type Method Description List<String>ExecutionEnv. extraRemoteVMOptions()Returns the additional VM options to be used when launching the remote JVM.Uses ofList injdk.management.jfr
Methods injdk.management.jfr that returnList Modifier and Type Method Description List<String>EventTypeInfo. getCategoryNames()Returns the list of human-readable names that makes up the category for thisEventTypeInfo(for example,"Java Virtual Machine"or"Garbage Collector").List<ConfigurationInfo>FlightRecorderMXBean. getConfigurations()Returns the list of predefined configurations for this Java Virtual Machine (JVM).List<EventTypeInfo>FlightRecorderMXBean. getEventTypes()Returns the list of currently registered event types.List<RecordingInfo>FlightRecorderMXBean. getRecordings()Returns the list of the available recordings, not necessarily running.List<SettingDescriptorInfo>EventTypeInfo. getSettingDescriptors()Returns settings for the event type associated with thisEventTypeInfo.Uses ofList injdk.nashorn.api.tree
Methods injdk.nashorn.api.tree that returnList Modifier and Type Method Description List<? extendsExpressionTree>FunctionCallTree. getArguments()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of arguments being passed to this function call.List<? extendsCaseTree>SwitchTree. getCases()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of 'case' statements.List<? extendsCatchTree>TryTree. getCatches()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of 'catch' statements associated with this 'try'.List<? extendsPropertyTree>ClassDeclarationTree. getClassElements()Deprecated, for removal: This API element is subject to removal in a future version.Get other property definitions except for the constructor.List<? extendsPropertyTree>ClassExpressionTree. getClassElements()Deprecated, for removal: This API element is subject to removal in a future version.Get other property definitions except for the constructor.List<? extendsExpressionTree>ArrayLiteralTree. getElements()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of Array element expressions.List<? extendsExpressionTree>TemplateLiteralTree. getExpressions()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of expressions in this template stringList<? extendsImportEntryTree>ModuleTree. getImportEntries()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of import entries.List<? extendsExportEntryTree>ModuleTree. getIndirectExportEntries()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of indirect export entries.List<? extendsExportEntryTree>ModuleTree. getLocalExportEntries()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of local export entries.List<? extendsExpressionTree>FunctionDeclarationTree. getParameters()Deprecated, for removal: This API element is subject to removal in a future version.Returns the parameters of this function.List<? extendsExpressionTree>FunctionExpressionTree. getParameters()Deprecated, for removal: This API element is subject to removal in a future version.Returns the parameters of this function.List<? extendsPropertyTree>ObjectLiteralTree. getProperties()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of properties of this object literal.List<? extendsTree>CompilationUnitTree. getSourceElements()Deprecated, for removal: This API element is subject to removal in a future version.Return the list of source elements in this compilation unit.List<? extendsExportEntryTree>ModuleTree. getStarExportEntries()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of star export entries.List<? extendsStatementTree>BlockTree. getStatements()Deprecated, for removal: This API element is subject to removal in a future version.Returns the list of statements in this block.List<? extendsStatementTree>CaseTree. getStatements()Deprecated, for removal: This API element is subject to removal in a future version.Return the list of statements for this 'case'.