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.
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 TypeInterfaceDescriptioninterfaceSeveralEventobjects 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 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 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 TypeMethodDescriptionabstractTypeMirrorJavacTask.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.finalRInvokes the appropriate visit method on each of a sequence of nodes.finalRInvokes the appropriate visit method on each of a sequence of nodes.Uses ofIterable injava.beans.beancontext
Subinterfaces ofIterable injava.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 injava.beans.beancontext that implementIterableModifier 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 ofIterable injava.lang
Modifier and TypeMethodDescriptionstaticStringString.join(CharSequence delimiter,Iterable<? extendsCharSequence> elements) Returns a newStringcomposed of copies of theCharSequence elementsjoined together with a copy of the specifieddelimiter.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 anIterableof byte arrays.Uses ofIterable injava.nio.file
Subinterfaces ofIterable injava.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 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 TypeMethodDescriptionstaticPathFiles.write(Path path,Iterable<? extendsCharSequence> lines,Charset cs,OpenOption... options) Write lines of text to a file.staticPathFiles.write(Path path,Iterable<? extendsCharSequence> lines,OpenOption... options) Write lines of text to a file.Uses ofIterable injava.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 ofIterable injava.util
Modifier and TypeInterfaceDescriptioninterfaceCollection<E>The root interface in thecollection hierarchy.interfaceDeque<E>A linear collection that supports element insertion and removal at both ends.interfaceList<E>An ordered collection, where the user has precise control over where in the list each element is inserted.interfaceNavigableSet<E>ASortedSetextended with navigation methods reporting closest matches for given search targets.interfaceQueue<E>A collection designed for holding elements prior to processing.interfaceA collection that has a well-defined encounter order, that supports operations at both ends, and that is reversible.interfaceSequencedSet<E>A collection that is both aSequencedCollectionand aSet.interfaceSet<E>A collection that contains no duplicate elements.interfaceSortedSet<E>ASetthat further provides atotal 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 well-defined encounter order.classLinkedList<E>Doubly-linked list implementation of theListandDequeinterfaces.classAn unbounded priorityqueue 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 ofIterable injava.util.concurrent
Subinterfaces ofIterable injava.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 injava.util.concurrent that implementIterableModifier and TypeClassDescriptionclassA boundedblocking queue backed by an array.static final classA view of a ConcurrentHashMap as aSetof keys, in which additions may optionally be enabled by mapping to a common value.classAn unbounded concurrentdeque based on linked nodes.classAn unbounded thread-safequeue 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 extendsDelayed>An unboundedblocking queue ofDelayedelements, in which an element generally becomes eligible for removal when its delay has expired.classAn optionally-boundedblocking deque based on linked nodes.classAn optionally-boundedblocking queue based on linked nodes.classAn unboundedTransferQueuebased on linked nodes.classAn unboundedblocking queue that uses the same ordering rules as classPriorityQueueand supplies blocking retrieval operations.classAblocking 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 ofexportsdirectives 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 ofopensdirectives indirectives.staticList<PackageElement> ElementFilter.packagesIn(Iterable<? extendsElement> elements) Returns a list of packages inelements.ElementFilter.providesIn(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofprovidesdirectives indirectives.staticList<RecordComponentElement> ElementFilter.recordComponentsIn(Iterable<? extendsElement> elements) Returns a list of record components inelements.ElementFilter.requiresIn(Iterable<? extendsModuleElement.Directive> directives) Returns a list ofrequiresdirectives indirectives.finalRIterates 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 ofusesdirectives indirectives.Uses ofIterable injavax.management
Classes injavax.management that implementIterableModifier and TypeClassDescriptionclassRepresents a list of values for attributes of an MBean.Uses ofIterable injavax.management.relation
Classes injavax.management.relation that implementIterableModifier 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 ofIterable injavax.print.attribute.standard
Classes injavax.print.attribute.standard that implementIterableModifier 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 ofIterable injavax.sql.rowset
Classes injavax.sql.rowset that implementIterableModifier and TypeClassDescriptionclassAn extension ofSQLExceptionthat provides information about database warnings set onRowSetobjects.Uses ofIterable injavax.sql.rowset.serial
Classes injavax.sql.rowset.serial that implementIterableModifier 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 JAVAOBJECTUses ofIterable injavax.sql.rowset.spi
Classes injavax.sql.rowset.spi that implementIterableModifier and TypeClassDescriptionclassIndicates an error withSyncFactorymechanism.classIndicates an error with theSyncProvidermechanism.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 singlePathas 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 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<? 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 singlePathas 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.voidStandardJavaFileManager.setLocation(JavaFileManager.Location location,Iterable<? extendsFile> files) Associates the given search path with the given location.voidJavaCompiler.CompilationTask.setProcessors(Iterable<? extendsProcessor> processors) Sets processors (for annotation processing).Uses ofIterable injavax.xml.crypto
Subinterfaces ofIterable injavax.xml.cryptoModifier and TypeInterfaceDescriptioninterfaceNodeSetData<T>An abstract representation of aDatatype containing a node-set.Uses ofIterable injavax.xml.xpath
Subinterfaces ofIterable injavax.xml.xpathModifier and TypeInterfaceDescriptioninterfaceXPathNodes 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.