Uses of Interface
java.lang.Iterable
| Package | Description | 
|---|---|
| com.sun.jdi.event | This package defines JDI events and event processing. | 
| 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). | 
| java.beans.beancontext | Provides classes and interfaces relating to bean context. | 
| java.lang | Provides classes that are fundamental to the design of the Java
 programming language. | 
| java.net.http | HTTP Client and WebSocket APIs | 
| java.nio.file | Defines interfaces and classes for the Java virtual machine to access files,
 file attributes, and file systems. | 
| java.sql | Provides the API for accessing and processing data stored in a
 data source (usually a relational database) using the
 Java™ programming language. | 
| 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. | 
| javax.annotation.processing | Facilities for declaring annotation processors and for
 allowing annotation processors to communicate with an annotation processing
 tool environment. | 
| javax.lang.model.util | Utilities to assist in the processing of
 program elements and
 types. | 
| javax.management | Provides the core classes for the Java Management Extensions. | 
| javax.management.relation | Provides the definition of the Relation Service. | 
| javax.print.attribute.standard | Package  javax.print.attribute.standardcontains classes for specific
 printing attributes. | 
| javax.sql.rowset | Standard interfaces and base classes for JDBC  RowSetimplementations. | 
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types
 and data types in the Java programming language. | 
| javax.sql.rowset.spi | The standard classes and interfaces that a third party vendor has to
 use in its implementation of a synchronization provider. | 
| 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 | Common classes for XML cryptography. | 
| javax.xml.xpath | Provides an object-model neutral API for the
 evaluation of XPath expressions and access to the evaluation
 environment. | 
| 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. | 
- 
Uses of Iterable in com.sun.jdi.eventSubinterfaces of Iterable in com.sun.jdi.event Modifier and Type Interface Description interfaceEventSetSeveralEventobjects may be created at a given time by the targetVirtualMachine.
- 
Uses of Iterable in com.sun.source.treeMethods in com.sun.source.tree that return Iterable Modifier and Type Method Description Iterable<? extends Element>Scope. getLocalElements()Returns the elements directly contained in this scope.
- 
Uses of Iterable in com.sun.source.utilClasses in com.sun.source.util that implement Iterable Modifier and Type Class Description classDocTreePathA path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top level DocCommentTree node.classTreePathA path of tree nodes, typically used to represent the sequence of ancestor nodes of a tree node up to the top level CompilationUnitTree node.Methods in com.sun.source.util that return Iterable Modifier and Type Method Description abstract Iterable<? extends Element>JavacTask. 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 Iterable Modifier and Type Method Description abstract TypeMirrorJavacTask. getTypeMirror(Iterable<? extends Tree> path)Returns a type mirror of the tree node determined by the specified path.RDocTreeScanner. scan(Iterable<? extends DocTree> nodes, P p)Scans a sequence of nodes.RTreeScanner. scan(Iterable<? extends Tree> nodes, P p)Scans a sequence of nodes.RSimpleDocTreeVisitor. visit(Iterable<? extends DocTree> nodes, P p)Invokes the appropriate visit method on each of a sequence of nodes.RSimpleTreeVisitor. visit(Iterable<? extends Tree> nodes, P p)Invokes the appropriate visit method on each of a sequence of nodes.
- 
Uses of Iterable in java.beans.beancontextSubinterfaces of Iterable in java.beans.beancontext Modifier and Type Interface Description interfaceBeanContextThe BeanContext acts a logical hierarchical container for JavaBeans.interfaceBeanContextServicesThe BeanContextServices interface provides a mechanism for a BeanContext to expose generic "services" to the BeanContextChild objects within.Classes in java.beans.beancontext that implement Iterable Modifier and Type Class Description classBeanContextServicesSupportThis helper class provides a utility implementation of the java.beans.beancontext.BeanContextServices interface.classBeanContextSupportThis helper class provides a utility implementation of the java.beans.beancontext.BeanContext interface.
- 
Uses of Iterable in java.langMethods in java.lang with parameters of type Iterable Modifier and Type Method Description static 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.httpMethods in java.net.http with parameters of type Iterable Modifier and Type Method Description static HttpRequest.BodyPublisherHttpRequest.BodyPublishers. ofByteArrays(Iterable<byte[]> iter)A request body publisher that takes data from anIterableof byte arrays.
- 
Uses of Iterable in java.nio.fileSubinterfaces of Iterable in java.nio.file Modifier and Type Interface Description interfaceDirectoryStream<T>An object to iterate over the entries in a directory.interfacePathAn object that may be used to locate a file in a file system.interfaceSecureDirectoryStream<T>ADirectoryStreamthat defines operations on files that are located relative to an open directory.Methods in java.nio.file that return Iterable Modifier and Type Method Description abstract Iterable<FileStore>FileSystem. getFileStores()Returns an object to iterate over the underlying file stores.abstract Iterable<Path>FileSystem. getRootDirectories()Returns an object to iterate over the paths of the root directories.Methods in java.nio.file with parameters of type Iterable Modifier and Type Method Description static 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.sqlClasses in java.sql that implement Iterable Modifier and Type Class Description classBatchUpdateExceptionThe subclass ofSQLExceptionthrown when an error occurs during a batch update operation.classDataTruncationAn 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.classSQLClientInfoExceptionThe subclass ofSQLExceptionis thrown when one or more client info properties could not be set on aConnection.classSQLDataExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '22', or under vendor-specified conditions.classSQLExceptionAn exception that provides information on a database access error or other errors.classSQLFeatureNotSupportedExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '0A' ( the value is 'zero' A).classSQLIntegrityConstraintViolationExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '23', or under vendor-specified conditions.classSQLInvalidAuthorizationSpecExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '28', or under vendor-specified conditions.classSQLNonTransientConnectionExceptionThe subclass ofSQLExceptionthrown for the SQLState class value '08', or under vendor-specified conditions.classSQLNonTransientExceptionThe subclass ofSQLExceptionthrown when an instance where a retry of the same operation would fail unless the cause of theSQLExceptionis corrected.classSQLRecoverableExceptionThe 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.classSQLSyntaxErrorExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '42', or under vendor-specified conditions.classSQLTimeoutExceptionThe subclass ofSQLExceptionthrown when the timeout specified byStatement.setQueryTimeout,DriverManager.setLoginTimeout,DataSource.setLoginTimeout,XADataSource.setLoginTimeouthas expired.classSQLTransactionRollbackExceptionThe subclass ofSQLExceptionthrown when the SQLState class value is '40', or under vendor-specified conditions.classSQLTransientConnectionExceptionThe subclass ofSQLExceptionfor the SQLState class value '08', or under vendor-specified conditions.classSQLTransientExceptionThe 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.classSQLWarningAn exception that provides information on database access warnings.
- 
Uses of Iterable in java.utilSubinterfaces of Iterable in java.util Modifier and Type Interface Description interfaceCollection<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.Classes in java.util that implement Iterable Modifier and Type Class Description classAbstractCollection<E>This 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).classAbstractQueue<E>This class provides skeletal implementations of someQueueoperations.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).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.classEnumSet<E extends Enum<E>>A specializedSetimplementation for use with enum types.classHashSet<E>This class implements theSetinterface, backed by a hash table (actually aHashMapinstance).classLinkedHashSet<E>Hash table and linked list implementation of theSetinterface, with predictable iteration order.classLinkedList<E>Doubly-linked list implementation of theListandDequeinterfaces.classPriorityQueue<E>An unbounded priority queue based on a priority heap.classServiceLoader<S>A 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.concurrentSubinterfaces of Iterable in java.util.concurrent Modifier and Type Interface Description interfaceBlockingDeque<E>ADequethat 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.interfaceBlockingQueue<E>AQueuethat 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.interfaceTransferQueue<E>ABlockingQueuein which producers may wait for consumers to receive elements.Classes in java.util.concurrent that implement Iterable Modifier and Type Class Description classArrayBlockingQueue<E>A bounded blocking queue backed by an array.static classConcurrentHashMap.KeySetView<K,V>A view of a ConcurrentHashMap as aSetof keys, in which additions may optionally be enabled by mapping to a common value.classConcurrentLinkedDeque<E>An unbounded concurrent deque based on linked nodes.classConcurrentLinkedQueue<E>An unbounded thread-safe queue based on linked nodes.classConcurrentSkipListSet<E>A scalable concurrentNavigableSetimplementation based on aConcurrentSkipListMap.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.classCopyOnWriteArraySet<E>ASetthat 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.classLinkedBlockingDeque<E>An optionally-bounded blocking deque based on linked nodes.classLinkedBlockingQueue<E>An optionally-bounded blocking queue based on linked nodes.classLinkedTransferQueue<E>An unboundedTransferQueuebased on linked nodes.classPriorityBlockingQueue<E>An unbounded blocking queue that uses the same ordering rules as classPriorityQueueand supplies blocking retrieval operations.classSynchronousQueue<E>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.processingMethods in javax.annotation.processing that return Iterable Modifier and Type Method Description Iterable<? 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.utilMethods in javax.lang.model.util with parameters of type Iterable Modifier and Type Method Description static 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>ElementFilter. fieldsIn(Iterable<? extends Element> elements)Returns a list of fields inelements.static List<ExecutableElement>ElementFilter. methodsIn(Iterable<? extends Element> elements)Returns a list of methods inelements.static List<ModuleElement>ElementFilter. modulesIn(Iterable<? extends Element> elements)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)Associated with records, a preview feature of the Java language.
 Returns a list of record components inelements.static List<ModuleElement.RequiresDirective>ElementFilter. requiresIn(Iterable<? extends ModuleElement.Directive> directives)Returns a list ofrequiresdirectives indirectives.RElementScanner6. scan(Iterable<? extends Element> iterable, P p)Iterates over the given elements and callsscan(Element, P)on each one.static List<TypeElement>ElementFilter. typesIn(Iterable<? extends Element> elements)Returns a list of types inelements.static List<ModuleElement.UsesDirective>ElementFilter. usesIn(Iterable<? extends ModuleElement.Directive> directives)Returns a list ofusesdirectives indirectives.
- 
Uses of Iterable in javax.managementClasses in javax.management that implement Iterable Modifier and Type Class Description classAttributeListRepresents a list of values for attributes of an MBean.
- 
Uses of Iterable in javax.management.relationClasses in javax.management.relation that implement Iterable 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.
- 
Uses of Iterable in javax.print.attribute.standardClasses in javax.print.attribute.standard that implement Iterable Modifier and Type Class Description classJobStateReasonsClassJobStateReasonsis 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.rowsetClasses in javax.sql.rowset that implement Iterable Modifier and Type Class Description classRowSetWarningAn extension ofSQLExceptionthat provides information about database warnings set onRowSetobjects.
- 
Uses of Iterable in javax.sql.rowset.serialClasses in javax.sql.rowset.serial that implement Iterable Modifier and Type Class Description classSerialExceptionIndicates 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.spiClasses in javax.sql.rowset.spi that implement Iterable Modifier and Type Class Description classSyncFactoryExceptionIndicates an error withSyncFactorymechanism.classSyncProviderExceptionIndicates an error with theSyncProvidermechanism.
- 
Uses of Iterable in javax.swingMethods in javax.swing with parameters of type Iterable Modifier and Type Method Description static <M, I> RowFilter<M,I>RowFilter. andFilter(Iterable<? extends RowFilter<? super M,? super I>> filters)Returns aRowFilterthat includes entries if all of the supplied filters include the entry.static <M, I> RowFilter<M,I>RowFilter. orFilter(Iterable<? extends RowFilter<? super M,? super I>> filters)Returns aRowFilterthat includes entries if any of the supplied filters includes the entry.
- 
Uses of Iterable in javax.toolsMethods in javax.tools that return Iterable Modifier and Type Method Description Iterable<? 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.useStandardJavaFileManager.getJavaFileObjectsFromPaths(Collection)instead, to prevent the possibility of accidentally calling the method with a singlePathas such an argument.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.Iterable<? extends File>StandardJavaFileManager. getLocation(JavaFileManager.Location location)Returns the search path associated with the given location.default Iterable<? extends Path>StandardJavaFileManager. getLocationAsPaths(JavaFileManager.Location location)Returns the search path associated with the given location.Iterable<JavaFileObject>ForwardingJavaFileManager. list(JavaFileManager.Location location, String packageName, Set<JavaFileObject.Kind> kinds, boolean recurse)Iterable<JavaFileObject>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.Iterable<Set<JavaFileManager.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 Iterable Modifier and Type Method Description voidDocumentationTool.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.DocumentationTaskDocumentationTool. 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.CompilationTaskJavaCompiler. 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.cryptoSubinterfaces of Iterable in javax.xml.crypto Modifier and Type Interface Description interfaceNodeSetData<T>An abstract representation of aDatatype containing a node-set.
- 
Uses of Iterable in javax.xml.xpathSubinterfaces of Iterable in javax.xml.xpath Modifier and Type Interface Description interfaceXPathNodesXPathNodes 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.supportMethods in jdk.dynalink.linker.support with parameters of type Iterable Modifier and Type Method Description static 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 Iterable Constructor Description CompositeGuardingDynamicLinker(Iterable<? extends GuardingDynamicLinker> linkers)Creates a new composite linker.CompositeTypeBasedGuardingDynamicLinker(Iterable<? extends TypeBasedGuardingDynamicLinker> linkers)Creates a new composite type-based linker.