Uses of Interface
java.util.Iterator
Packages that useIterator
Package
Description
This package defines JDI events and event processing.
Provides utilities for operations on abstract syntax trees (AST).
Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context.
Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.
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 constant pool entries for the
java.lang.classfile
library.Service-provider classes for the
java.nio.charset
package.Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
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.
Classes to support functional-style operations on streams of elements, such as map-reduce transformations on collections.
The main package of the Java Image I/O API.
A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry.
Provides interfaces for tools which can be invoked from a program, for example, compilers.
Common classes for XML cryptography.
DOM-specific classes for the
javax.xml.crypto
package. Defines XML Namespace processing.
Defines interfaces and classes for the Streaming API for XML (StAX).
Defines event interfaces for the Streaming API for XML (StAX).
Provides utility classes for the Streaming API for XML (StAX).
Provides anobject-model neutral API for the evaluation of XPath expressions and access to the evaluation environment.
Uses ofIterator incom.sun.jdi.event
Subinterfaces ofIterator incom.sun.jdi.eventUses ofIterator incom.sun.source.util
Methods incom.sun.source.util that returnIteratorUses ofIterator injava.applet
Methods injava.applet that returnIteratorModifier and TypeMethodDescriptionAppletContext.getStreamKeys()
Deprecated, for removal: This API element is subject to removal in a future version.Finds all the keys of the streams in this applet context.Uses ofIterator injava.awt.dnd
Methods injava.awt.dnd that returnIteratorModifier and TypeMethodDescriptionDragGestureEvent.iterator()
Returns anIterator
for the events comprising the gesture.Uses ofIterator injava.beans.beancontext
Classes injava.beans.beancontext that implementIteratorModifier and TypeClassDescriptionprotected static final class
Deprecated, for removal: This API element is subject to removal in a future version.protected final subclass that encapsulates an iterator but implements a noop remove() method.Methods injava.beans.beancontext that returnIteratorModifier and TypeMethodDescriptionprotectedIterator
<BeanContextSupport.BCSChild> BeanContextSupport.bcsChildren()
Deprecated, for removal: This API element is subject to removal in a future version.Returns an iterator of all children of thisBeanContext
.Iterator
<?> BeanContextServices.getCurrentServiceClasses()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the currently available services for this context.BeanContextServicesSupport.getCurrentServiceClasses()
Deprecated, for removal: This API element is subject to removal in a future version.Iterator
<?> BeanContextServiceAvailableEvent.getCurrentServiceSelectors()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the list of service dependent selectors.Iterator
<?> BeanContextServiceProvider.getCurrentServiceSelectors
(BeanContextServices bcs,Class<?> serviceClass) Deprecated, for removal: This API element is subject to removal in a future version.Invoked byBeanContextServices
, this method gets the current service selectors for the specified service.Iterator
<?> BeanContextServices.getCurrentServiceSelectors
(Class<?> serviceClass) Deprecated, for removal: This API element is subject to removal in a future version.Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider.Iterator
<?> BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors
(BeanContextServices bcs,Class<?> serviceClass) Iterator
<?> BeanContextServicesSupport.getCurrentServiceSelectors
(Class<?> serviceClass) Deprecated, for removal: This API element is subject to removal in a future version.BeanContextMembershipEvent.iterator()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the array of children affected by this event.BeanContextSupport.iterator()
Deprecated, for removal: This API element is subject to removal in a future version.Gets all JavaBean orBeanContext
instances currently nested in thisBeanContext
.Uses ofIterator injava.lang
Uses ofIterator injava.lang.classfile
Methods injava.lang.classfile that returnIteratorUses ofIterator injava.lang.classfile.constantpool
Methods injava.lang.classfile.constantpool that returnIteratorUses ofIterator injava.nio.charset.spi
Methods injava.nio.charset.spi that returnIteratorUses ofIterator injava.nio.file
Methods injava.nio.file that returnIteratorUses ofIterator injava.security.cert
Methods injava.security.cert that returnIteratorModifier and TypeMethodDescriptionCertificateFactorySpi.engineGetCertPathEncodings()
Returns an iteration of theCertPath
encodings supported by this certificate factory, with the default encoding first.CertificateFactory.getCertPathEncodings()
Returns an iteration of theCertPath
encodings supported by this certificate factory, with the default encoding first.Iterator
<? extendsPolicyNode> PolicyNode.getChildren()
Returns an iterator over the children of this node.CertPath.getEncodings()
Returns an iteration of the encodings supported by this certification path, with the default encoding first.Uses ofIterator injava.sql
Uses ofIterator injava.util
Modifier and TypeInterfaceDescriptioninterface
ListIterator<E>
An iterator for lists that allows the programmer to traverse the list in either direction, modify the list during iteration, and obtain the iterator's current position in the list.interface
PrimitiveIterator<T,
T_CONS> A base type for primitive specializations ofIterator
.static interface
An Iterator specialized fordouble
values.static interface
An Iterator specialized forint
values.static interface
An Iterator specialized forlong
values.Modifier and TypeClassDescriptionfinal class
A simple text scanner which can parse primitive types and strings using regular expressions.Modifier and TypeMethodDescriptionEnumeration.asIterator()
Returns anIterator
that traverses the remaining elements covered by this enumeration.ArrayDeque.descendingIterator()
Deque.descendingIterator()
Returns an iterator over the elements in this deque in reverse sequential order.LinkedList.descendingIterator()
NavigableSet.descendingIterator()
Returns an iterator over the elements in this set, in descending order.TreeSet.descendingIterator()
Returns an iterator over the elements in this set in descending order.static <T> Iterator
<T> Collections.emptyIterator()
Returns an iterator that has no elements.AbstractCollection.iterator()
Returns an iterator over the elements contained in this collection.AbstractList.iterator()
Returns an iterator over the elements in this list in proper sequence.AbstractSequentialList.iterator()
Returns an iterator over the elements in this list (in proper sequence).ArrayDeque.iterator()
Returns an iterator over the elements in this deque.ArrayList.iterator()
Returns an iterator over the elements in this list in proper sequence.Collection.iterator()
Returns an iterator over the elements in this collection.Deque.iterator()
Returns an iterator over the elements in this deque in proper sequence.HashSet.iterator()
Returns an iterator over the elements in this set.List.iterator()
Returns an iterator over the elements in this list in proper sequence.NavigableSet.iterator()
Returns an iterator over the elements in this set, in ascending order.PriorityQueue.iterator()
Returns an iterator over the elements in this queue.ServiceLoader.iterator()
Returns an iterator to lazily load and instantiate the available providers of this loader's service.Set.iterator()
Returns an iterator over the elements in this set.static <T> Iterator
<T> Spliterators.iterator
(Spliterator<? extends T> spliterator) Creates anIterator
from aSpliterator
.TreeSet.iterator()
Returns an iterator over the elements in this set in ascending order.Vector.iterator()
Returns an iterator over the elements in this list in proper sequence.Modifier and TypeMethodDescriptionstatic <T> Spliterator
<T> Spliterators.spliterator
(Iterator<? extends T> iterator, long size, int characteristics) Creates aSpliterator
using a givenIterator
as the source of elements, and with a given initially reported size.static <T> Spliterator
<T> Spliterators.spliteratorUnknownSize
(Iterator<? extends T> iterator, int characteristics) Creates aSpliterator
using a givenIterator
as the source of elements, with no initial size estimate.Uses ofIterator injava.util.concurrent
Methods injava.util.concurrent that returnIteratorModifier and TypeMethodDescriptionConcurrentLinkedDeque.descendingIterator()
Returns an iterator over the elements in this deque in reverse sequential order.ConcurrentSkipListSet.descendingIterator()
Returns an iterator over the elements in this set in descending order.LinkedBlockingDeque.descendingIterator()
Returns an iterator over the elements in this deque in reverse sequential order.ArrayBlockingQueue.iterator()
Returns an iterator over the elements in this queue in proper sequence.BlockingDeque.iterator()
Returns an iterator over the elements in this deque in proper sequence.ConcurrentHashMap.KeySetView.iterator()
ConcurrentLinkedDeque.iterator()
Returns an iterator over the elements in this deque in proper sequence.ConcurrentLinkedQueue.iterator()
Returns an iterator over the elements in this queue in proper sequence.ConcurrentSkipListSet.iterator()
Returns an iterator over the elements in this set in ascending order.CopyOnWriteArrayList.iterator()
Returns an iterator over the elements in this list in proper sequence.CopyOnWriteArraySet.iterator()
Returns an iterator over the elements contained in this set in the order in which these elements were added.DelayQueue.iterator()
Returns an iterator over all the elements (both expired and unexpired) in this queue.LinkedBlockingDeque.iterator()
Returns an iterator over the elements in this deque in proper sequence.LinkedBlockingQueue.iterator()
Returns an iterator over the elements in this queue in proper sequence.LinkedTransferQueue.iterator()
Returns an iterator over the elements in this queue in proper sequence.PriorityBlockingQueue.iterator()
Returns an iterator over the elements in this queue.SynchronousQueue.iterator()
Returns an empty iterator in whichhasNext
always returnsfalse
.Uses ofIterator injava.util.stream
Methods injava.util.stream that returnIteratorUses ofIterator injavax.imageio
Methods injavax.imageio that returnIteratorModifier and TypeMethodDescriptionstaticIterator
<ImageReader> ImageIO.getImageReaders
(Object input) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the suppliedObject
, typically anImageInputStream
.staticIterator
<ImageReader> ImageIO.getImageReadersByFormatName
(String formatName) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the named format.staticIterator
<ImageReader> ImageIO.getImageReadersByMIMEType
(String MIMEType) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode files with the given MIME type.staticIterator
<ImageReader> ImageIO.getImageReadersBySuffix
(String fileSuffix) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode files with the given suffix.staticIterator
<ImageTranscoder> ImageIO.getImageTranscoders
(ImageReader reader,ImageWriter writer) Returns anIterator
containing all currently registeredImageTranscoder
s that claim to be able to transcode between the metadata of the givenImageReader
andImageWriter
.abstractIterator
<ImageTypeSpecifier> ImageReader.getImageTypes
(int imageIndex) Returns anIterator
containing possible image types to which the given image may be decoded, in the form ofImageTypeSpecifiers
s.staticIterator
<ImageWriter> ImageIO.getImageWriters
(ImageTypeSpecifier type,String formatName) Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode images of the given layout (specified using anImageTypeSpecifier
) in the given format.staticIterator
<ImageWriter> ImageIO.getImageWritersByFormatName
(String formatName) Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode the named format.staticIterator
<ImageWriter> ImageIO.getImageWritersByMIMEType
(String MIMEType) Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode files with the given MIME type.staticIterator
<ImageWriter> ImageIO.getImageWritersBySuffix
(String fileSuffix) Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode files with the given suffix.ImageReader.readAll
(Iterator<? extendsImageReadParam> params) Returns anIterator
containing all the images, thumbnails, and metadata, starting at the index given bygetMinIndex
, from the input source in the form ofIIOImage
objects.Methods injavax.imageio with parameters of typeIteratorModifier and TypeMethodDescriptionprotected staticBufferedImage
ImageReader.getDestination
(ImageReadParam param,Iterator<ImageTypeSpecifier> imageTypes, int width, int height) Returns theBufferedImage
to which decoded pixel data should be written.ImageReader.readAll
(Iterator<? extendsImageReadParam> params) Returns anIterator
containing all the images, thumbnails, and metadata, starting at the index given bygetMinIndex
, from the input source in the form ofIIOImage
objects.Uses ofIterator injavax.imageio.spi
Methods injavax.imageio.spi that returnIteratorModifier and TypeMethodDescriptionServiceRegistry.getCategories()
Returns anIterator
ofClass
objects indicating the current set of categories.<T> Iterator
<T> ServiceRegistry.getServiceProviders
(Class<T> category, boolean useOrdering) Returns anIterator
containing all registered service providers in the given category.<T> Iterator
<T> ServiceRegistry.getServiceProviders
(Class<T> category,ServiceRegistry.Filter filter, boolean useOrdering) Returns anIterator
containing service provider objects within a given category that satisfy a criterion imposed by the suppliedServiceRegistry.Filter
object'sfilter
method.static <T> Iterator
<T> ServiceRegistry.lookupProviders
(Class<T> providerClass) Locates and incrementally instantiates the available providers of a given service using the context class loader.static <T> Iterator
<T> ServiceRegistry.lookupProviders
(Class<T> providerClass,ClassLoader loader) Searches for implementations of a particular service class using the given class loader.Methods injavax.imageio.spi with parameters of typeIteratorModifier and TypeMethodDescriptionvoid
ServiceRegistry.registerServiceProviders
(Iterator<?> providers) Adds a set of service provider objects, taken from anIterator
to the registry.Constructors injavax.imageio.spi with parameters of typeIteratorModifierConstructorDescriptionServiceRegistry
(Iterator<Class<?>> categories) Constructs aServiceRegistry
instance with a set of categories taken from thecategories
argument.Uses ofIterator injavax.tools
Methods injavax.tools with parameters of typeIteratorModifier and TypeMethodDescriptionboolean
ForwardingJavaFileManager.handleOption
(String current,Iterator<String> remaining) boolean
JavaFileManager.handleOption
(String current,Iterator<String> remaining) Handles one option.Uses ofIterator injavax.xml.crypto
Methods injavax.xml.crypto that returnIteratorModifier and TypeMethodDescriptionNodeSetData.iterator()
Returns a read-only iterator over the nodes contained in thisNodeSetData
in document order.Uses ofIterator injavax.xml.crypto.dom
Methods injavax.xml.crypto.dom that returnIteratorUses ofIterator injavax.xml.namespace
Methods injavax.xml.namespace that returnIteratorModifier and TypeMethodDescriptionNamespaceContext.getPrefixes
(String namespaceURI) Get all prefixes bound to a Namespace URI in the current scope.Uses ofIterator injavax.xml.stream
Subinterfaces ofIterator injavax.xml.streamModifier and TypeInterfaceDescriptioninterface
This is the top level interface for parsing XML Events.Methods injavax.xml.stream with parameters of typeIteratorModifier and TypeMethodDescriptionabstractEndElement
XMLEventFactory.createEndElement
(String prefix,String namespaceUri,String localName,Iterator<? extendsNamespace> namespaces) Create a new EndElementabstractEndElement
XMLEventFactory.createEndElement
(QName name,Iterator<? extendsNamespace> namespaces) Create a new EndElementabstractStartElement
XMLEventFactory.createStartElement
(String prefix,String namespaceUri,String localName,Iterator<? extendsAttribute> attributes,Iterator<? extendsNamespace> namespaces) Create a new StartElement.abstractStartElement
XMLEventFactory.createStartElement
(String prefix,String namespaceUri,String localName,Iterator<? extendsAttribute> attributes,Iterator<? extendsNamespace> namespaces,NamespaceContext context) Create a new StartElement.abstractStartElement
XMLEventFactory.createStartElement
(QName name,Iterator<? extendsAttribute> attributes,Iterator<? extendsNamespace> namespaces) Create a new StartElement.Uses ofIterator injavax.xml.stream.events
Methods injavax.xml.stream.events that returnIteratorModifier and TypeMethodDescriptionStartElement.getAttributes()
Returns an Iterator of non-namespace attributes declared on this START_ELEMENT.EndElement.getNamespaces()
Returns an Iterator of namespaces that have gone out of scope.StartElement.getNamespaces()
Returns an Iterator of namespaces declared on this element.Uses ofIterator injavax.xml.stream.util
Classes injavax.xml.stream.util that implementIteratorModifier and TypeClassDescriptionclass
This is the base class for deriving an XMLEventReader filter.Uses ofIterator injavax.xml.xpath
Methods injavax.xml.xpath that returnIterator