Uses of Interface
java.lang.Iterable
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 classfile attributes for the
java.lang.classfile
PREVIEW library.Provides specific components, transformations, and tools built on top of the
java.lang.classfile
PREVIEW library.Provides interfaces describing classfile constant pool entries for the
java.lang.classfile
PREVIEW 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 of
program elements and
types.
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 an object-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 of Iterable in com.sun.jdi.event
Modifier and TypeInterfaceDescriptioninterface
SeveralEvent
objects may be created at a given time by the targetVirtualMachine
. -
Uses of Iterable in com.sun.source.tree
Modifier and TypeMethodDescriptionScope.getLocalElements()
Returns the elements directly contained in this scope. -
Uses of Iterable in com.sun.source.util
Modifier 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.Modifier and TypeMethodDescriptionJavacTask.analyze()
Completes all analysis.abstract Iterable
<? extends JavaFileObject> JavacTask.generate()
Generates code.abstract Iterable
<? extends CompilationUnitTree> JavacTask.parse()
Parses the specified files returning a list of abstract syntax trees.Modifier and TypeMethodDescriptionabstract TypeMirror
JavacTask.getTypeMirror
(Iterable<? extends Tree> path) Returns a type mirror of the tree node determined by the specified path.Scans a sequence of nodes.Scans a sequence of nodes.final R
Invokes the appropriate visit method on each of a sequence of nodes.final R
Invokes the appropriate visit method on each of a sequence of nodes. -
Uses of Iterable in java.beans.beancontext
Modifier 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.Modifier 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 of Iterable in java.lang
Modifier and TypeMethodDescriptionstatic String
String.join
(CharSequence delimiter, Iterable<? extends CharSequence> elements) Returns a newString
composed of copies of theCharSequence elements
joined together with a copy of the specifieddelimiter
. -
Uses of Iterable in java.lang.classfilePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models a classfile.interface
Preview.Supports reading from a classfile.interface
Preview.Models the body of a method (theCode
attribute).interface
CompoundElementPREVIEW<E extends ClassFileElementPREVIEW>
Preview.AClassFileElement
PREVIEW that has complex structure defined in terms of other classfile elements, such as a method, field, method body, or entire class.interface
Preview.Models a field.interface
Preview.Models a method. -
Uses of Iterable in java.lang.classfile.attributePREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Models theCode
attribute (JVMS 4.7.3), appears on non-native, non-abstract methods and contains the bytecode of the method body. -
Uses of Iterable in java.lang.classfile.componentsPREVIEW
Modifier and TypeInterfaceDescriptionstatic interface
Preview.A tree node holdingList
of nested nodes. -
Uses of Iterable in java.lang.classfile.constantpoolPREVIEW
Modifier and TypeInterfaceDescriptioninterface
Preview.Provides read access to the constant pool and bootstrap method table of a classfile.interface
Preview.Builder for the constant pool of a classfile. -
Uses of Iterable in java.net.http
Modifier and TypeMethodDescriptionstatic HttpRequest.BodyPublisher
HttpRequest.BodyPublishers.ofByteArrays
(Iterable<byte[]> iter) A request body publisher that takes data from anIterable
of byte arrays. -
Uses of Iterable in java.nio.file
Modifier 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.Modifier 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.Modifier and TypeMethodDescriptionstatic Path
Files.write
(Path path, Iterable<? extends CharSequence> lines, Charset cs, OpenOption... options) Write lines of text to a file.static Path
Files.write
(Path path, Iterable<? extends CharSequence> lines, OpenOption... options) Write lines of text to a file. -
Uses of Iterable in java.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 of Iterable in java.util
Modifier and TypeInterfaceDescriptioninterface
Collection<E>
The root interface in the collection 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 a total 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 priority queue 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 of Iterable in java.util.concurrent
Modifier 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.Modifier and TypeClassDescriptionclass
A bounded blocking 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 concurrent deque based on linked nodes.class
An unbounded thread-safe queue 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 extends Delayed>
An unbounded blocking queue ofDelayed
elements, in which an element generally becomes eligible for removal when its delay has expired.class
An optionally-bounded blocking deque based on linked nodes.class
An optionally-bounded blocking queue based on linked nodes.class
An unboundedTransferQueue
based on linked nodes.class
An unbounded blocking queue that uses the same ordering rules as classPriorityQueue
and supplies blocking retrieval operations.class
A blocking queue in which each insert operation must wait for a corresponding remove operation by another thread, and vice versa. -
Uses of Iterable in javax.annotation.processing
Modifier and TypeMethodDescriptionIterable
<? extends Completion> AbstractProcessor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) Returns an empty iterable of completions.Iterable
<? extends Completion> Processor.getCompletions
(Element element, AnnotationMirror annotation, ExecutableElement member, String userText) Returns to the tool infrastructure an iterable of suggested completions to an annotation. -
Uses of Iterable in javax.lang.model.util
Modifier and TypeMethodDescriptionstatic List
<ExecutableElement> ElementFilter.constructorsIn
(Iterable<? extends Element> elements) Returns a list of constructors inelements
.static List
<ModuleElement.ExportsDirective> ElementFilter.exportsIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofexports
directives indirectives
.static List
<VariableElement> Returns a list of fields inelements
.static List
<ExecutableElement> Returns a list of methods inelements
.static List
<ModuleElement> Returns a list of modules inelements
.static List
<ModuleElement.OpensDirective> ElementFilter.opensIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofopens
directives indirectives
.static List
<PackageElement> ElementFilter.packagesIn
(Iterable<? extends Element> elements) Returns a list of packages inelements
.static List
<ModuleElement.ProvidesDirective> ElementFilter.providesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofprovides
directives indirectives
.static List
<RecordComponentElement> ElementFilter.recordComponentsIn
(Iterable<? extends Element> elements) Returns a list of record components inelements
.static List
<ModuleElement.RequiresDirective> ElementFilter.requiresIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofrequires
directives indirectives
.final R
Iterates over the given elements and callsscan(Element, P)
on each one.static List
<TypeElement> Returns a list of classes and interfaces inelements
.static List
<ModuleElement.UsesDirective> ElementFilter.usesIn
(Iterable<? extends ModuleElement.Directive> directives) Returns a list ofuses
directives indirectives
. -
Uses of Iterable in javax.management
Modifier and TypeClassDescriptionclass
Represents a list of values for attributes of an MBean. -
Uses of Iterable in javax.management.relation
Modifier and TypeClassDescriptionclass
A RoleList represents a list of roles (Role objects).class
A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write) the roles. -
Uses of Iterable in javax.print.attribute.standard
Modifier 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 of Iterable in javax.sql.rowset
Modifier and TypeClassDescriptionclass
An extension ofSQLException
that provides information about database warnings set onRowSet
objects. -
Uses of Iterable in javax.sql.rowset.serial
Modifier 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 of Iterable in javax.sql.rowset.spi
Modifier and TypeClassDescriptionclass
Indicates an error withSyncFactory
mechanism.class
Indicates an error with theSyncProvider
mechanism. -
Uses of Iterable in javax.swing
-
Uses of Iterable in javax.tools
Modifier and TypeMethodDescriptionIterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjects
(File... files) Returns file objects representing the given files.Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjects
(String... names) Returns file objects representing the given file names.default Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjects
(Path... paths) Returns file objects representing the given paths.Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromFiles
(Iterable<? extends File> files) Returns file objects representing the given files.default Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Iterable<? extends Path> paths) Deprecated.default Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Collection<? extends Path> paths) Returns file objects representing the given paths.Iterable
<? extends JavaFileObject> 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) default Iterable
<Set<JavaFileManager.Location>> JavaFileManager.listLocationsForModules
(JavaFileManager.Location location) Lists the locations for all the modules in a module-oriented location or an output location.Modifier 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
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromFiles
(Iterable<? extends File> files) Returns file objects representing the given files.default Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromPaths
(Iterable<? extends Path> paths) Deprecated.useStandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)
instead, to prevent the possibility of accidentally calling the method with a singlePath
as such an argument.Iterable
<? extends JavaFileObject> StandardJavaFileManager.getJavaFileObjectsFromStrings
(Iterable<String> names) Returns file objects representing the given file names.DocumentationTool.getTask
(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Class<?> docletClass, Iterable<String> options, Iterable<? extends JavaFileObject> compilationUnits) Creates a future for a documentation task with the given components and arguments.JavaCompiler.getTask
(Writer out, JavaFileManager fileManager, DiagnosticListener<? super JavaFileObject> diagnosticListener, Iterable<String> options, Iterable<String> classes, Iterable<? extends JavaFileObject> compilationUnits) Creates a future for a compilation task with the given components and arguments.void
StandardJavaFileManager.setLocation
(JavaFileManager.Location location, Iterable<? extends File> files) Associates the given search path with the given location.void
JavaCompiler.CompilationTask.setProcessors
(Iterable<? extends Processor> processors) Sets processors (for annotation processing). -
Uses of Iterable in javax.xml.crypto
Modifier and TypeInterfaceDescriptioninterface
NodeSetData<T>
An abstract representation of aData
type containing a node-set. -
Uses of Iterable in javax.xml.xpath
Modifier and TypeInterfaceDescriptioninterface
XPathNodes represents a set of nodes selected by a location path as specified in XML Path Language (XPath) Version 1.0, 3.3 Node-sets. -
Uses of Iterable in jdk.dynalink.linker.support
Modifier and TypeMethodDescriptionstatic List
<GuardingDynamicLinker> CompositeTypeBasedGuardingDynamicLinker.optimize
(Iterable<? extends GuardingDynamicLinker> linkers) Optimizes a list of type-based linkers.ModifierConstructorDescriptionCompositeGuardingDynamicLinker
(Iterable<? extends GuardingDynamicLinker> linkers) Creates a new composite linker.CompositeTypeBasedGuardingDynamicLinker
(Iterable<? extends TypeBasedGuardingDynamicLinker> linkers) Creates a new composite type-based linker.
StandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)
instead, to prevent the possibility of accidentally calling the method with a singlePath
as such an argument.