Uses of Interface
java.lang.Iterable
Packages that useIterable
Package
Description
This package defines JDI events and event processing.
Provides interfaces to represent source code as abstract syntax trees (AST).
Provides utilities for operations on abstract syntax trees (AST).
Provides classes and interfaces relating to bean context.
Provides classes that are fundamental to the design of the Java programming language.
Provides classfile parsing, generation, and transformation library.
Provides interfaces describing
class
file attributes for thejava.lang.classfile
library.Provides interfaces describing constant pool entries for the
java.lang.classfile
library.HTTP Client and WebSocket APIs
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
Provides the API for accessing and processing data stored in a data source (usually a relational database) using the Java programming language.
Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.
Utility classes commonly useful in concurrent programming.
Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.
Utilities to assist in the processing ofprogram elements andtypes.
Provides the core classes for the Java Management Extensions.
Provides the definition of the Relation Service.
Package
javax.print.attribute.standard
contains classes for specific printing attributes.Standard interfaces and base classes for JDBC
RowSet
implementations.Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
The standard classes and interfaces that a third party vendor has to use in its implementation of a synchronization provider.
Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.
Provides interfaces for tools which can be invoked from a program, for example, compilers.
Common classes for XML cryptography.
Provides anobject-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
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.
Uses ofIterable incom.sun.jdi.event
Subinterfaces ofIterable incom.sun.jdi.eventModifier and TypeInterfaceDescriptioninterface
SeveralEvent
objects may be created at a given time by the targetVirtualMachine
.Uses ofIterable incom.sun.source.tree
Methods incom.sun.source.tree that returnIterableModifier and TypeMethodDescriptionScope.getLocalElements()
Returns the elements directly contained in this scope.Uses ofIterable incom.sun.source.util
Classes incom.sun.source.util that implementIterableModifier and TypeClassDescriptionclass
A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelDocCommentTree
node.class
A path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelCompilationUnitTree
node.Methods incom.sun.source.util that returnIterableModifier and TypeMethodDescriptionJavacTask.analyze()
Completes all analysis.abstractIterable
<? extendsJavaFileObject> JavacTask.generate()
Generates code.abstractIterable
<? extendsCompilationUnitTree> JavacTask.parse()
Parses the specified files returning a list of abstract syntax trees.Methods incom.sun.source.util with parameters of typeIterableModifier and TypeMethodDescriptionabstractTypeMirror
JavacTask.getTypeMirror
(Iterable<? extendsTree> path) Returns a type mirror of the tree node determined by the specified path.Scans a sequence of nodes.Scans a sequence of nodes.finalR
Invokes the appropriate visit method on each of a sequence of nodes.finalR
Invokes the appropriate visit method on each of a sequence of nodes.Uses ofIterable injava.beans.beancontext
Subinterfaces ofIterable injava.beans.beancontextModifier and TypeInterfaceDescriptioninterface
Deprecated, for removal: This API element is subject to removal in a future version.interface
Deprecated, for removal: This API element is subject to removal in a future version.Classes injava.beans.beancontext that implementIterableModifier and TypeClassDescriptionclass
Deprecated, for removal: This API element is subject to removal in a future version.class
Deprecated, for removal: This API element is subject to removal in a future version.Uses ofIterable injava.lang
Modifier and TypeMethodDescriptionstaticString
String.join
(CharSequence delimiter,Iterable<? extendsCharSequence> elements) Returns a newString
composed of copies of theCharSequence elements
joined together with a copy of the specifieddelimiter
.Uses ofIterable injava.lang.classfile
Subinterfaces ofIterable injava.lang.classfileModifier and TypeInterfaceDescriptioninterface
Models aclass
file.interface
Advancedclass
file reading support forAttributeMapper
s.interface
Models the body of a method (theCode
attribute).interface
CompoundElement<E extendsClassFileElement>
Aclass
file structure that can be viewed as a composition of its member structures.interface
Models a field.interface
Models a method.Uses ofIterable injava.lang.classfile.attribute
Subinterfaces ofIterable injava.lang.classfile.attributeModifier and TypeInterfaceDescriptioninterface
Uses ofIterable injava.lang.classfile.constantpool
Subinterfaces ofIterable injava.lang.classfile.constantpoolModifier and TypeInterfaceDescriptioninterface
Provides read access to the constant pool and the bootstrap method table of aclass
file.interface
Builder for the constant pool of aclass
file.Uses ofIterable injava.net.http
Methods injava.net.http with parameters of typeIterableModifier and TypeMethodDescriptionHttpRequest.BodyPublishers.ofByteArrays
(Iterable<byte[]> iter) A request body publisher that takes data from anIterable
of byte arrays.Uses ofIterable injava.nio.file
Subinterfaces ofIterable injava.nio.fileModifier and TypeInterfaceDescriptioninterface
An object to iterate over the entries in a directory.interface
An object that may be used to locate a file in a file system.interface
ADirectoryStream
that defines operations on files that are located relative to an open directory.Methods injava.nio.file that returnIterableModifier and TypeMethodDescriptionFileSystem.getFileStores()
Returns an object to iterate over the underlying file stores.FileSystem.getRootDirectories()
Returns an object to iterate over the paths of the root directories.Methods injava.nio.file with parameters of typeIterableModifier and TypeMethodDescriptionstaticPath
Files.write
(Path path,Iterable<? extendsCharSequence> lines,Charset cs,OpenOption... options) Write lines of text to a file.staticPath
Files.write
(Path path,Iterable<? extendsCharSequence> lines,OpenOption... options) Write lines of text to a file.Uses ofIterable injava.sql
Modifier and TypeClassDescriptionclass
The subclass ofSQLException
thrown when an error occurs during a batch update operation.class
An exception thrown as aDataTruncation
exception (on writes) or reported as aDataTruncation
warning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceededMaxFieldSize
.class
The subclass ofSQLException
is thrown when one or more client info properties could not be set on aConnection
.class
The subclass ofSQLException
thrown when the SQLState class value is '22', or under vendor-specified conditions.class
An exception that provides information on a database access error or other errors.class
The subclass ofSQLException
thrown when the SQLState class value is '0A' ( the value is 'zero' A).class
The subclass ofSQLException
thrown when the SQLState class value is '23', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the SQLState class value is '28', or under vendor-specified conditions.class
The subclass ofSQLException
thrown for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when an instance where a retry of the same operation would fail unless the cause of theSQLException
is corrected.class
The subclass ofSQLException
thrown in situations where a previously failed operation might be able to succeed if the application performs some recovery steps and retries the entire transaction or in the case of a distributed transaction, the transaction branch.class
The subclass ofSQLException
thrown when the SQLState class value is '42', or under vendor-specified conditions.class
The subclass ofSQLException
thrown when the timeout specified byStatement.setQueryTimeout
,DriverManager.setLoginTimeout
,DataSource.setLoginTimeout
,XADataSource.setLoginTimeout
has expired.class
The subclass ofSQLException
thrown when the SQLState class value is '40', or under vendor-specified conditions.class
The subclass ofSQLException
for the SQLState class value '08', or under vendor-specified conditions.class
The subclass ofSQLException
is thrown in situations where a previously failed operation might be able to succeed when the operation is retried without any intervention by application-level functionality.class
An exception that provides information on database access warnings.Uses ofIterable injava.util
Modifier and TypeInterfaceDescriptioninterface
Collection<E>
The root interface in thecollection hierarchy.interface
Deque<E>
A linear collection that supports element insertion and removal at both ends.interface
List<E>
An ordered collection, where the user has precise control over where in the list each element is inserted.interface
NavigableSet<E>
ASortedSet
extended with navigation methods reporting closest matches for given search targets.interface
Queue<E>
A collection designed for holding elements prior to processing.interface
A collection that has a well-defined encounter order, that supports operations at both ends, and that is reversible.interface
SequencedSet<E>
A collection that is both aSequencedCollection
and aSet
.interface
Set<E>
A collection that contains no duplicate elements.interface
SortedSet<E>
ASet
that further provides atotal ordering on its elements.Modifier and TypeClassDescriptionclass
This class provides a skeletal implementation of theCollection
interface, to minimize the effort required to implement this interface.class
AbstractList<E>
This class provides a skeletal implementation of theList
interface to minimize the effort required to implement this interface backed by a "random access" data store (such as an array).class
This class provides skeletal implementations of someQueue
operations.class
This class provides a skeletal implementation of theList
interface to minimize the effort required to implement this interface backed by a "sequential access" data store (such as a linked list).class
AbstractSet<E>
This class provides a skeletal implementation of theSet
interface to minimize the effort required to implement this interface.class
ArrayDeque<E>
Resizable-array implementation of theDeque
interface.class
ArrayList<E>
Resizable-array implementation of theList
interface.class
A specializedSet
implementation for use with enum types.class
HashSet<E>
This class implements theSet
interface, backed by a hash table (actually aHashMap
instance).class
Hash table and linked list implementation of theSet
interface, with well-defined encounter order.class
LinkedList<E>
Doubly-linked list implementation of theList
andDeque
interfaces.class
An unbounded priorityqueue based on a priority heap.final class
A facility to load implementations of a service.class
Stack<E>
TheStack
class represents a last-in-first-out (LIFO) stack of objects.class
TreeSet<E>
ANavigableSet
implementation based on aTreeMap
.class
Vector<E>
TheVector
class implements a growable array of objects.Uses ofIterable injava.util.concurrent
Subinterfaces ofIterable injava.util.concurrentModifier and TypeInterfaceDescriptioninterface
ADeque
that additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for space to become available in the deque when storing an element.interface
AQueue
that additionally supports operations that wait for the queue to become non-empty when retrieving an element, and wait for space to become available in the queue when storing an element.interface
ABlockingQueue
in which producers may wait for consumers to receive elements.Classes injava.util.concurrent that implementIterableModifier and TypeClassDescriptionclass
A boundedblocking queue backed by an array.static final class
A view of a ConcurrentHashMap as aSet
of keys, in which additions may optionally be enabled by mapping to a common value.class
An unbounded concurrentdeque based on linked nodes.class
An unbounded thread-safequeue based on linked nodes.class
A scalable concurrentNavigableSet
implementation based on aConcurrentSkipListMap
.class
A thread-safe variant ofArrayList
in which all mutative operations (add
,set
, and so on) are implemented by making a fresh copy of the underlying array.class
ASet
that uses an internalCopyOnWriteArrayList
for all of its operations.class
DelayQueue<E extendsDelayed>
An unboundedblocking queue ofDelayed
elements, in which an element generally becomes eligible for removal when its delay has expired.class
An optionally-boundedblocking deque based on linked nodes.class
An optionally-boundedblocking queue based on linked nodes.class
An unboundedTransferQueue
based on linked nodes.class
An unboundedblocking queue that uses the same ordering rules as classPriorityQueue
and supplies blocking retrieval operations.class
Ablocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa.Uses ofIterable injavax.annotation.processing
Methods injavax.annotation.processing that returnIterableModifier and TypeMethodDescriptionIterable
<? extendsCompletion> AbstractProcessor.getCompletions
(Element element,AnnotationMirror annotation,ExecutableElement member,String userText) Returns an empty iterable of completions.Iterable
<? extendsCompletion> Processor.getCompletions
(Element element,AnnotationMirror annotation,ExecutableElement member,String userText) Returns to the tool infrastructure an iterable of suggested completions to an annotation.Uses ofIterable injavax.lang.model.util
Methods injavax.lang.model.util with parameters of typeIterableModifier and TypeMethodDescriptionstaticList
<ExecutableElement> ElementFilter.constructorsIn
(Iterable<? extendsElement> elements) Returns a list of constructors inelements
.ElementFilter.exportsIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofexports
directives indirectives
.staticList
<VariableElement> Returns a list of fields inelements
.staticList
<ExecutableElement> Returns a list of methods inelements
.staticList
<ModuleElement> Returns a list of modules inelements
.staticList
<ModuleElement.OpensDirective> ElementFilter.opensIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofopens
directives indirectives
.staticList
<PackageElement> ElementFilter.packagesIn
(Iterable<? extendsElement> elements) Returns a list of packages inelements
.ElementFilter.providesIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofprovides
directives indirectives
.staticList
<RecordComponentElement> ElementFilter.recordComponentsIn
(Iterable<? extendsElement> elements) Returns a list of record components inelements
.ElementFilter.requiresIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofrequires
directives indirectives
.finalR
Iterates over the given elements and callsscan(Element, P)
on each one.staticList
<TypeElement> Returns a list of classes and interfaces inelements
.staticList
<ModuleElement.UsesDirective> ElementFilter.usesIn
(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofuses
directives indirectives
.Uses ofIterable injavax.management
Classes injavax.management that implementIterableModifier and TypeClassDescriptionclass
Represents a list of values for attributes of an MBean.Uses ofIterable injavax.management.relation
Classes injavax.management.relation that implementIterableModifier and TypeClassDescriptionclass
A RoleList represents a list of roles (Role objects).class
A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write) the roles.Uses ofIterable injavax.print.attribute.standard
Classes injavax.print.attribute.standard that implementIterableModifier and TypeClassDescriptionfinal class
ClassJobStateReasons
is a printing attribute class, a set of enumeration values, that provides additional information about the job's current state, i.e., information that augments the value of the job'sJobState
attribute.Uses ofIterable injavax.sql.rowset
Classes injavax.sql.rowset that implementIterableModifier and TypeClassDescriptionclass
An extension ofSQLException
that provides information about database warnings set onRowSet
objects.Uses ofIterable injavax.sql.rowset.serial
Classes injavax.sql.rowset.serial that implementIterableModifier and TypeClassDescriptionclass
Indicates and an error with the serialization or de-serialization of SQL types such asBLOB, CLOB, STRUCT or ARRAY
in addition to SQL types such asDATALINK and JAVAOBJECT
Uses ofIterable injavax.sql.rowset.spi
Classes injavax.sql.rowset.spi that implementIterableModifier and TypeClassDescriptionclass
Indicates an error withSyncFactory
mechanism.class
Indicates an error with theSyncProvider
mechanism.Uses ofIterable injavax.swing
Methods injavax.swing with parameters of typeIterableUses ofIterable injavax.tools
Methods injavax.tools that returnIterableModifier and TypeMethodDescriptionIterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjects
(File... files) Returns file objects representing the given files.Iterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjects
(String... names) Returns file objects representing the given file names.defaultIterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjects
(Path... paths) Returns file objects representing the given paths.Iterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromFiles
(Iterable<? extendsFile> files) Returns file objects representing the given files.defaultIterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Iterable<? extendsPath> paths) Deprecated.useStandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)
instead, to prevent the possibility of accidentally calling the method with a singlePath
as such an argument.defaultIterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Collection<? extendsPath> paths) Returns file objects representing the given paths.Iterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromStrings
(Iterable<String> names) Returns file objects representing the given file names.StandardJavaFileManager.getLocation
(JavaFileManager.Location location) Returns the search path associated with the given location.StandardJavaFileManager.getLocationAsPaths
(JavaFileManager.Location location) Returns the search path associated with the given location.ForwardingJavaFileManager.list
(JavaFileManager.Location location,String packageName,Set<JavaFileObject.Kind> kinds, boolean recurse) JavaFileManager.list
(JavaFileManager.Location location,String packageName,Set<JavaFileObject.Kind> kinds, boolean recurse) Lists all file objects matching the given criteria in the given package-oriented location.ForwardingJavaFileManager.listLocationsForModules
(JavaFileManager.Location location) defaultIterable
<Set<JavaFileManager.Location>> JavaFileManager.listLocationsForModules
(JavaFileManager.Location location) Lists the locations for all the modules in a module-oriented location or an output location.Methods injavax.tools with parameters of typeIterableModifier and TypeMethodDescriptionvoid
DocumentationTool.DocumentationTask.addModules
(Iterable<String> moduleNames) Adds root modules to be taken into account during module resolution.void
JavaCompiler.CompilationTask.addModules
(Iterable<String> moduleNames) Adds root modules to be taken into account during module resolution.Iterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromFiles
(Iterable<? extendsFile> files) Returns file objects representing the given files.defaultIterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Iterable<? extendsPath> paths) Deprecated.useStandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)
instead, to prevent the possibility of accidentally calling the method with a singlePath
as such an argument.Iterable
<? extendsJavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromStrings
(Iterable<String> names) Returns file objects representing the given file names.DocumentationTool.getTask
(Writer out,JavaFileManager fileManager,DiagnosticListener<? superJavaFileObject> diagnosticListener,Class<?> docletClass,Iterable<String> options,Iterable<? extendsJavaFileObject> compilationUnits) Creates a future for a documentation task with the given components and arguments.JavaCompiler.getTask
(Writer out,JavaFileManager fileManager,DiagnosticListener<? superJavaFileObject> diagnosticListener,Iterable<String> options,Iterable<String> classes,Iterable<? extendsJavaFileObject> compilationUnits) Creates a future for a compilation task with the given components and arguments.void
StandardJavaFileManager.setLocation
(JavaFileManager.Location location,Iterable<? extendsFile> files) Associates the given search path with the given location.void
JavaCompiler.CompilationTask.setProcessors
(Iterable<? extendsProcessor> processors) Sets processors (for annotation processing).Uses ofIterable injavax.xml.crypto
Subinterfaces ofIterable injavax.xml.cryptoModifier and TypeInterfaceDescriptioninterface
NodeSetData<T>
An abstract representation of aData
type containing a node-set.Uses ofIterable injavax.xml.xpath
Subinterfaces ofIterable injavax.xml.xpathModifier and TypeInterfaceDescriptioninterface
XPathNodes represents a set of nodes selected by a location path as specified inXML Path Language (XPath) Version 1.0, 3.3 Node-sets.Uses ofIterable injdk.dynalink.linker.support
Methods injdk.dynalink.linker.support with parameters of typeIterableModifier and TypeMethodDescriptionstaticList
<GuardingDynamicLinker> CompositeTypeBasedGuardingDynamicLinker.optimize
(Iterable<? extendsGuardingDynamicLinker> linkers) Optimizes a list of type-based linkers.Constructors injdk.dynalink.linker.support with parameters of typeIterableModifierConstructorDescriptionCompositeGuardingDynamicLinker
(Iterable<? extendsGuardingDynamicLinker> linkers) Creates a new composite linker.CompositeTypeBasedGuardingDynamicLinker
(Iterable<? extendsTypeBasedGuardingDynamicLinker> linkers) Creates a new composite type-based linker.