Uses of Interface
java.lang.Iterable
Packages that use 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.
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
Subinterfaces of Iterable in com.sun.jdi.eventModifier and TypeInterfaceDescriptioninterfaceSeveralEventobjects may be created at a given time by the targetVirtualMachine. -
Uses of Iterable in com.sun.source.tree
Methods in com.sun.source.tree that return IterableModifier and TypeMethodDescriptionScope.getLocalElements()Returns the elements directly contained in this scope. -
Uses of Iterable in com.sun.source.util
Classes in com.sun.source.util that implement IterableModifier and TypeClassDescriptionclassA path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelDocCommentTreenode.classA path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top-levelCompilationUnitTreenode.Methods in com.sun.source.util that return IterableModifier 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.Methods in com.sun.source.util with parameters of type IterableModifier and TypeMethodDescriptionabstract TypeMirrorJavacTask.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 RInvokes the appropriate visit method on each of a sequence of nodes.final RInvokes the appropriate visit method on each of a sequence of nodes. -
Uses of Iterable in java.beans.beancontext
Subinterfaces of Iterable in java.beans.beancontextModifier and TypeInterfaceDescriptioninterfaceThe BeanContext acts a logical hierarchical container for JavaBeans.interfaceThe BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.Classes in java.beans.beancontext that implement IterableModifier and TypeClassDescriptionclassThis helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.classThis helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface. -
Uses of Iterable in java.lang
Modifier and TypeMethodDescriptionstatic StringString.join(CharSequence delimiter, Iterable<? extends CharSequence> elements) Returns a newStringcomposed of copies of theCharSequence elementsjoined together with a copy of the specifieddelimiter. -
Uses of Iterable in java.net.http
Methods in java.net.http with parameters of type IterableModifier and TypeMethodDescriptionstatic HttpRequest.BodyPublisherHttpRequest.BodyPublishers.ofByteArrays(Iterable<byte[]> iter) A request body publisher that takes data from anIterableof byte arrays. -
Uses of Iterable in java.nio.file
Subinterfaces of Iterable in java.nio.fileModifier and TypeInterfaceDescriptioninterfaceAn object to iterate over the entries in a directory.interfaceAn object that may be used to locate a file in a file system.interfaceADirectoryStreamthat defines operations on files that are located relative to an open directory.Methods in java.nio.file that return IterableModifier 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 in java.nio.file with parameters of type IterableModifier and TypeMethodDescriptionstatic PathFiles.write(Path path, Iterable<? extends CharSequence> lines, Charset cs, OpenOption... options) Write lines of text to a file.static PathFiles.write(Path path, Iterable<? extends CharSequence> lines, OpenOption... options) Write lines of text to a file. -
Uses of Iterable in java.sql
Modifier and TypeClassDescriptionclassThe subclass ofSQLExceptionthrown when an error occurs during a batch update operation.classAn exception thrown as aDataTruncationexception (on writes) or reported as aDataTruncationwarning (on reads) when a data values is unexpectedly truncated for reasons other than its having exceededMaxFieldSize.classThe subclass ofSQLExceptionis thrown when one or more client info properties could not be set on aConnection.classThe subclass ofSQLExceptionthrown when the SQLState class value is '22', or under vendor-specified conditions.classAn exception that provides information on a database access error or other errors.classThe subclass ofSQLExceptionthrown when the SQLState class value is '0A' ( the value is 'zero' A).classThe subclass ofSQLExceptionthrown when the SQLState class value is '23', or under vendor-specified conditions.classThe subclass ofSQLExceptionthrown when the SQLState class value is '28', or under vendor-specified conditions.classThe subclass ofSQLExceptionthrown for the SQLState class value '08', or under vendor-specified conditions.classThe subclass ofSQLExceptionthrown when an instance where a retry of the same operation would fail unless the cause of theSQLExceptionis corrected.classThe subclass ofSQLExceptionthrown 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.classThe subclass ofSQLExceptionthrown when the SQLState class value is '42', or under vendor-specified conditions.classThe subclass ofSQLExceptionthrown when the timeout specified byStatement.setQueryTimeout,DriverManager.setLoginTimeout,DataSource.setLoginTimeout,XADataSource.setLoginTimeouthas expired.classThe subclass ofSQLExceptionthrown when the SQLState class value is '40', or under vendor-specified conditions.classThe subclass ofSQLExceptionfor the SQLState class value '08', or under vendor-specified conditions.classThe subclass ofSQLExceptionis 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.classAn exception that provides information on database access warnings. -
Uses of Iterable in java.util
Modifier and TypeInterfaceDescriptioninterfaceCollection<E>The root interface in the collection hierarchy.interfaceDeque<E>A linear collection that supports element insertion and removal at both ends.interfaceList<E>An ordered collection (also known as a sequence).interfaceNavigableSet<E>ASortedSetextended with navigation methods reporting closest matches for given search targets.interfaceQueue<E>A collection designed for holding elements prior to processing.interfaceSet<E>A collection that contains no duplicate elements.interfaceSortedSet<E>ASetthat further provides a total ordering on its elements.Modifier and TypeClassDescriptionclassThis class provides a skeletal implementation of theCollectioninterface, to minimize the effort required to implement this interface.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).classThis class provides skeletal implementations of someQueueoperations.classThis 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).classAbstractSet<E>This class provides a skeletal implementation of theSetinterface to minimize the effort required to implement this interface.classArrayDeque<E>Resizable-array implementation of theDequeinterface.classArrayList<E>Resizable-array implementation of theListinterface.classA specializedSetimplementation for use with enum types.classHashSet<E>This class implements theSetinterface, backed by a hash table (actually aHashMapinstance).classHash table and linked list implementation of theSetinterface, with predictable iteration order.classLinkedList<E>Doubly-linked list implementation of theListandDequeinterfaces.classAn unbounded priority queue based on a priority heap.final classA facility to load implementations of a service.classStack<E>TheStackclass represents a last-in-first-out (LIFO) stack of objects.classTreeSet<E>ANavigableSetimplementation based on aTreeMap.classVector<E>TheVectorclass implements a growable array of objects. -
Uses of Iterable in java.util.concurrent
Subinterfaces of Iterable in java.util.concurrentModifier and TypeInterfaceDescriptioninterfaceADequethat 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.interfaceAQueuethat 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.interfaceABlockingQueuein which producers may wait for consumers to receive elements.Classes in java.util.concurrent that implement IterableModifier and TypeClassDescriptionclassA bounded blocking queue backed by an array.static classA view of a ConcurrentHashMap as aSetof keys, in which additions may optionally be enabled by mapping to a common value.classAn unbounded concurrent deque based on linked nodes.classAn unbounded thread-safe queue based on linked nodes.classA scalable concurrentNavigableSetimplementation based on aConcurrentSkipListMap.classA thread-safe variant ofArrayListin which all mutative operations (add,set, and so on) are implemented by making a fresh copy of the underlying array.classASetthat uses an internalCopyOnWriteArrayListfor all of its operations.classDelayQueue<E extends Delayed>An unbounded blocking queue ofDelayedelements, in which an element can only be taken when its delay has expired.classAn optionally-bounded blocking deque based on linked nodes.classAn optionally-bounded blocking queue based on linked nodes.classAn unboundedTransferQueuebased on linked nodes.classAn unbounded blocking queue that uses the same ordering rules as classPriorityQueueand supplies blocking retrieval operations.classA 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
Methods in javax.annotation.processing that return IterableModifier 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
Methods in javax.lang.model.util with parameters of type IterableModifier 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 ofexportsdirectives 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 ofopensdirectives 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 ofprovidesdirectives 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 ofrequiresdirectives indirectives.final RIterates 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 ofusesdirectives indirectives. -
Uses of Iterable in javax.management
Classes in javax.management that implement IterableModifier and TypeClassDescriptionclassRepresents a list of values for attributes of an MBean. -
Uses of Iterable in javax.management.relation
Classes in javax.management.relation that implement IterableModifier and TypeClassDescriptionclassA RoleList represents a list of roles (Role objects).classA 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
Classes in javax.print.attribute.standard that implement IterableModifier and TypeClassDescriptionfinal classClassJobStateReasonsis 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'sJobStateattribute. -
Uses of Iterable in javax.sql.rowset
Classes in javax.sql.rowset that implement IterableModifier and TypeClassDescriptionclassAn extension ofSQLExceptionthat provides information about database warnings set onRowSetobjects. -
Uses of Iterable in javax.sql.rowset.serial
Classes in javax.sql.rowset.serial that implement IterableModifier and TypeClassDescriptionclassIndicates and an error with the serialization or de-serialization of SQL types such asBLOB, CLOB, STRUCT or ARRAYin addition to SQL types such asDATALINK and JAVAOBJECT -
Uses of Iterable in javax.sql.rowset.spi
Classes in javax.sql.rowset.spi that implement IterableModifier and TypeClassDescriptionclassIndicates an error withSyncFactorymechanism.classIndicates an error with theSyncProvidermechanism. -
Uses of Iterable in javax.swing
Methods in javax.swing with parameters of type Iterable -
Uses of Iterable in javax.tools
Methods in javax.tools that return IterableModifier 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.Methods in javax.tools with parameters of type IterableModifier and TypeMethodDescriptionvoidDocumentationTool.DocumentationTask.addModules(Iterable<String> moduleNames) Adds root modules to be taken into account during module resolution.voidJavaCompiler.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 singlePathas 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.voidStandardJavaFileManager.setLocation(JavaFileManager.Location location, Iterable<? extends File> files) Associates the given search path with the given location.voidJavaCompiler.CompilationTask.setProcessors(Iterable<? extends Processor> processors) Sets processors (for annotation processing). -
Uses of Iterable in javax.xml.crypto
Subinterfaces of Iterable in javax.xml.cryptoModifier and TypeInterfaceDescriptioninterfaceNodeSetData<T>An abstract representation of aDatatype containing a node-set. -
Uses of Iterable in javax.xml.xpath
Subinterfaces of Iterable in javax.xml.xpathModifier and TypeInterfaceDescriptioninterfaceXPathNodes 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
Methods in jdk.dynalink.linker.support with parameters of type IterableModifier and TypeMethodDescriptionstatic List<GuardingDynamicLinker>CompositeTypeBasedGuardingDynamicLinker.optimize(Iterable<? extends GuardingDynamicLinker> linkers) Optimizes a list of type-based linkers.Constructors in jdk.dynalink.linker.support with parameters of type IterableModifierConstructorDescriptionCompositeGuardingDynamicLinker(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 singlePathas such an argument.