Java™ Platform
Standard Ed. 6

Uses of Interface
java.util.Iterator

Packages that use Iterator
java.applet Provides the classes necessary to create an applet and the classes an applet uses to communicate with its applet context. 
java.awt.dnd 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. 
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.nio.charset.spi Service-provider classes for the java.nio.charset package. 
java.security.cert Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths. 
java.sql Provides the API for accessing and processing data stored in a data source (usually a relational database) using the JavaTM programming language. 
java.util Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array). 
java.util.concurrent Utility classes commonly useful in concurrent programming. 
javax.imageio The main package of the Java Image I/O API. 
javax.imageio.spi A package of the Java Image I/O API containing the plug-in interfaces for readers, writers, transcoders, and streams, and a runtime registry. 
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.crypto.dom DOM-specific classes for the javax.xml.crypto package. 
javax.xml.namespace XML Namespace processing. 
javax.xml.soap Provides the API for creating and building SOAP messages. 
javax.xml.stream   
javax.xml.stream.events   
javax.xml.stream.util   
javax.xml.ws This package contains the core JAX-WS APIs. 
javax.xml.ws.spi This package defines SPIs for JAX-WS. 
 

Uses of Iterator in java.applet
 

Methods in java.applet that return Iterator
 Iterator<String> AppletContext.getStreamKeys()
          Finds all the keys of the streams in this applet context.
 

Uses of Iterator in java.awt.dnd
 

Methods in java.awt.dnd that return Iterator
 Iterator<InputEvent> DragGestureEvent.iterator()
          Returns an Iterator for the events comprising the gesture.
 

Uses of Iterator in java.beans.beancontext
 

Classes in java.beans.beancontext that implement Iterator
protected static class BeanContextSupport.BCSIterator
          protected final subclass that encapsulates an iterator but implements a noop remove() method.
 

Methods in java.beans.beancontext that return Iterator
protected  Iterator BeanContextSupport.bcsChildren()
          Returns an iterator of all children of this BeanContext.
 Iterator BeanContextServicesSupport.getCurrentServiceClasses()
           
 Iterator BeanContextServices.getCurrentServiceClasses()
          Gets the currently available services for this context.
 Iterator BeanContextServiceAvailableEvent.getCurrentServiceSelectors()
          Gets the list of service dependent selectors.
 Iterator BeanContextServicesSupport.BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs, Class serviceClass)
           
 Iterator BeanContextServiceProvider.getCurrentServiceSelectors(BeanContextServices bcs, Class serviceClass)
          Invoked by BeanContextServices, this method gets the current service selectors for the specified service.
 Iterator BeanContextServicesSupport.getCurrentServiceSelectors(Class serviceClass)
           
 Iterator BeanContextServices.getCurrentServiceSelectors(Class serviceClass)
          Gets the list of service dependent service parameters (Service Selectors) for the specified service, by calling getCurrentServiceSelectors() on the underlying BeanContextServiceProvider.
 Iterator BeanContextMembershipEvent.iterator()
          Gets the array of children affected by this event.
 Iterator BeanContextSupport.iterator()
          Gets all JavaBean or BeanContext instances currently nested in this BeanContext.
 

Uses of Iterator in java.lang
 

Methods in java.lang that return Iterator
 Iterator<T> Iterable.iterator()
          Returns an iterator over a set of elements of type T.
 

Uses of Iterator in java.nio.charset.spi
 

Methods in java.nio.charset.spi that return Iterator
abstract  Iterator<Charset> CharsetProvider.charsets()
          Creates an iterator that iterates over the charsets supported by this provider.
 

Uses of Iterator in java.security.cert
 

Methods in java.security.cert that return Iterator
 Iterator<String> CertificateFactorySpi.engineGetCertPathEncodings()
          Returns an iteration of the CertPath encodings supported by this certificate factory, with the default encoding first.
 Iterator<String> CertificateFactory.getCertPathEncodings()
          Returns an iteration of the CertPath encodings supported by this certificate factory, with the default encoding first.
 Iterator<? extends PolicyNode> PolicyNode.getChildren()
          Returns an iterator over the children of this node.
abstract  Iterator<String> CertPath.getEncodings()
          Returns an iteration of the encodings supported by this certification path, with the default encoding first.
 

Uses of Iterator in java.sql
 

Methods in java.sql that return Iterator
 Iterator<Throwable> SQLException.iterator()
          Returns an iterator over the chained SQLExceptions.
 

Uses of Iterator in java.util
 

Subinterfaces of Iterator in java.util
 interface 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.
 

Classes in java.util that implement Iterator
 class Scanner
          A simple text scanner which can parse primitive types and strings using regular expressions.
 

Methods in java.util that return Iterator
 Iterator<E> ArrayDeque.descendingIterator()
           
 Iterator<E> LinkedList.descendingIterator()
           
 Iterator<E> TreeSet.descendingIterator()
          Returns an iterator over the elements in this set in descending order.
 Iterator<E> NavigableSet.descendingIterator()
          Returns an iterator over the elements in this set, in descending order.
 Iterator<E> Deque.descendingIterator()
          Returns an iterator over the elements in this deque in reverse sequential order.
 Iterator<S> ServiceLoader.iterator()
          Lazily loads the available providers of this loader's service.
 Iterator<E> ArrayDeque.iterator()
          Returns an iterator over the elements in this deque.
 Iterator<E> PriorityQueue.iterator()
          Returns an iterator over the elements in this queue.
 Iterator<E> AbstractSequentialList.iterator()
          Returns an iterator over the elements in this list (in proper sequence).
 Iterator<E> TreeSet.iterator()
          Returns an iterator over the elements in this set in ascending order.
 Iterator<E> HashSet.iterator()
          Returns an iterator over the elements in this set.
 Iterator<E> NavigableSet.iterator()
          Returns an iterator over the elements in this set, in ascending order.
 Iterator<E> Deque.iterator()
          Returns an iterator over the elements in this deque in proper sequence.
 Iterator<E> List.iterator()
          Returns an iterator over the elements in this list in proper sequence.
abstract  Iterator<E> AbstractCollection.iterator()
          Returns an iterator over the elements contained in this collection.
 Iterator<E> AbstractList.iterator()
          Returns an iterator over the elements in this list in proper sequence.
 Iterator<E> Collection.iterator()
          Returns an iterator over the elements in this collection.
 Iterator<E> Set.iterator()
          Returns an iterator over the elements in this set.
 

Uses of Iterator in java.util.concurrent
 

Methods in java.util.concurrent that return Iterator
 Iterator<E> LinkedBlockingDeque.descendingIterator()
          Returns an iterator over the elements in this deque in reverse sequential order.
 Iterator<E> ConcurrentSkipListSet.descendingIterator()
          Returns an iterator over the elements in this set in descending order.
 Iterator<E> SynchronousQueue.iterator()
          Returns an empty iterator in which hasNext always returns false.
 Iterator<E> PriorityBlockingQueue.iterator()
          Returns an iterator over the elements in this queue.
 Iterator<E> LinkedBlockingQueue.iterator()
          Returns an iterator over the elements in this queue in proper sequence.
 Iterator<E> LinkedBlockingDeque.iterator()
          Returns an iterator over the elements in this deque in proper sequence.
 Iterator<E> DelayQueue.iterator()
          Returns an iterator over all the elements (both expired and unexpired) in this queue.
 Iterator<E> CopyOnWriteArraySet.iterator()
          Returns an iterator over the elements contained in this set in the order in which these elements were added.
 Iterator<E> CopyOnWriteArrayList.iterator()
          Returns an iterator over the elements in this list in proper sequence.
 Iterator<E> ConcurrentSkipListSet.iterator()
          Returns an iterator over the elements in this set in ascending order.
 Iterator<E> ConcurrentLinkedQueue.iterator()
          Returns an iterator over the elements in this queue in proper sequence.
 Iterator<E> BlockingDeque.iterator()
          Returns an iterator over the elements in this deque in proper sequence.
 Iterator<E> ArrayBlockingQueue.iterator()
          Returns an iterator over the elements in this queue in proper sequence.
 

Uses of Iterator in javax.imageio
 

Methods in javax.imageio that return Iterator
static Iterator<ImageReader> ImageIO.getImageReaders(Object input)
          Returns an Iterator containing all currently registered ImageReaders that claim to be able to decode the supplied Object, typically an ImageInputStream.
static Iterator<ImageReader> ImageIO.getImageReadersByFormatName(String formatName)
          Returns an Iterator containing all currently registered ImageReaders that claim to be able to decode the named format.
static Iterator<ImageReader> ImageIO.getImageReadersByMIMEType(String MIMEType)
          Returns an Iterator containing all currently registered ImageReaders that claim to be able to decode files with the given MIME type.
static Iterator<ImageReader> ImageIO.getImageReadersBySuffix(String fileSuffix)
          Returns an Iterator containing all currently registered ImageReaders that claim to be able to decode files with the given suffix.
static Iterator<ImageTranscoder> ImageIO.getImageTranscoders(ImageReader reader, ImageWriter writer)
          Returns an Iterator containing all currently registered ImageTranscoders that claim to be able to transcode between the metadata of the given ImageReader and ImageWriter.
abstract  Iterator<ImageTypeSpecifier> ImageReader.getImageTypes(int imageIndex)
          Returns an Iterator containing possible image types to which the given image may be decoded, in the form of ImageTypeSpecifierss.
static Iterator<ImageWriter> ImageIO.getImageWriters(ImageTypeSpecifier type, String formatName)
          Returns an Iterator containing all currently registered ImageWriters that claim to be able to encode images of the given layout (specified using an ImageTypeSpecifier) in the given format.
static Iterator<ImageWriter> ImageIO.getImageWritersByFormatName(String formatName)
          Returns an Iterator containing all currently registered ImageWriters that claim to be able to encode the named format.
static Iterator<ImageWriter> ImageIO.getImageWritersByMIMEType(String MIMEType)
          Returns an Iterator containing all currently registered ImageWriters that claim to be able to encode files with the given MIME type.
static Iterator<ImageWriter> ImageIO.getImageWritersBySuffix(String fileSuffix)
          Returns an Iterator containing all currently registered ImageWriters that claim to be able to encode files with the given suffix.
 Iterator<IIOImage> ImageReader.readAll(Iterator<? extends ImageReadParam> params)
          Returns an Iterator containing all the images, thumbnails, and metadata, starting at the index given by getMinIndex, from the input source in the form of IIOImage objects.
 

Methods in javax.imageio with parameters of type Iterator
protected static BufferedImage ImageReader.getDestination(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height)
          Returns the BufferedImage to which decoded pixel data should be written.
 Iterator<IIOImage> ImageReader.readAll(Iterator<? extends ImageReadParam> params)
          Returns an Iterator containing all the images, thumbnails, and metadata, starting at the index given by getMinIndex, from the input source in the form of IIOImage objects.
 

Uses of Iterator in javax.imageio.spi
 

Methods in javax.imageio.spi that return Iterator
 Iterator<Class<?>> ServiceRegistry.getCategories()
          Returns an Iterator of Class objects indicating the current set of categories.
<T> Iterator<T>
ServiceRegistry.getServiceProviders(Class<T> category, boolean useOrdering)
          Returns an Iterator containing all registered service providers in the given category.
<T> Iterator<T>
ServiceRegistry.getServiceProviders(Class<T> category, ServiceRegistry.Filter filter, boolean useOrdering)
          Returns an Iterator containing service provider objects within a given category that satisfy a criterion imposed by the supplied ServiceRegistry.Filter object's filter 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 in javax.imageio.spi with parameters of type Iterator
 void ServiceRegistry.registerServiceProviders(Iterator<?> providers)
          Adds a set of service provider objects, taken from an Iterator to the registry.
 

Constructors in javax.imageio.spi with parameters of type Iterator
ServiceRegistry(Iterator<Class<?>> categories)
          Constructs a ServiceRegistry instance with a set of categories taken from the categories argument.
 

Uses of Iterator in javax.tools
 

Methods in javax.tools with parameters of type Iterator
 boolean ForwardingJavaFileManager.handleOption(String current, Iterator<String> remaining)
           
 boolean JavaFileManager.handleOption(String current, Iterator<String> remaining)
          Handles one option.
 

Uses of Iterator in javax.xml.crypto
 

Methods in javax.xml.crypto that return Iterator
 Iterator NodeSetData.iterator()
          Returns a read-only iterator over the nodes contained in this NodeSetData in document order.
 

Uses of Iterator in javax.xml.crypto.dom
 

Methods in javax.xml.crypto.dom that return Iterator
 Iterator DOMCryptoContext.iterator()
          Returns a read-only iterator over the set of Id/Element mappings of this DOMCryptoContext.
 

Uses of Iterator in javax.xml.namespace
 

Methods in javax.xml.namespace that return Iterator
 Iterator NamespaceContext.getPrefixes(String namespaceURI)
          Get all prefixes bound to a Namespace URI in the current scope.
 

Uses of Iterator in javax.xml.soap
 

Methods in javax.xml.soap that return Iterator
 Iterator SOAPHeader.examineAllHeaderElements()
          Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object.
 Iterator SOAPHeader.examineHeaderElements(String actor)
          Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object that have the specified actor.
 Iterator SOAPHeader.examineMustUnderstandHeaderElements(String actor)
          Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object that have the specified actor and that have a MustUnderstand attribute whose value is equivalent to true.
 Iterator SOAPHeader.extractAllHeaderElements()
          Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object and detaches them from this SOAPHeader object.
 Iterator SOAPHeader.extractHeaderElements(String actor)
          Returns an Iterator over all the SOAPHeaderElement objects in this SOAPHeader object that have the specified actor and detaches them from this SOAPHeader object.
 Iterator SOAPElement.getAllAttributes()
          Returns an Iterator over all of the attribute Name objects in this SOAPElement object.
 Iterator SOAPElement.getAllAttributesAsQNames()
          Returns an Iterator over all of the attributes in this SOAPElement as QName objects.
 Iterator MimeHeaders.getAllHeaders()
          Returns all the MimeHeaders in this MimeHeaders object.
abstract  Iterator SOAPPart.getAllMimeHeaders()
          Retrieves all the headers for this SOAPPart object as an iterator over the MimeHeader objects.
abstract  Iterator AttachmentPart.getAllMimeHeaders()
          Retrieves all the headers for this AttachmentPart object as an iterator over the MimeHeader objects.
abstract  Iterator SOAPMessage.getAttachments()
          Retrieves all the AttachmentPart objects that are part of this SOAPMessage object.
abstract  Iterator SOAPMessage.getAttachments(MimeHeaders headers)
          Retrieves all the AttachmentPart objects that have header entries that match the specified headers.
 Iterator SOAPElement.getChildElements()
          Returns an Iterator over all the immediate child Nodes of this element.
 Iterator SOAPElement.getChildElements(Name name)
          Returns an Iterator over all the immediate child Nodes of this element with the specified name.
 Iterator SOAPElement.getChildElements(QName qname)
          Returns an Iterator over all the immediate child Nodes of this element with the specified qname.
 Iterator Detail.getDetailEntries()
          Gets an Iterator over all of the DetailEntrys in this Detail object.
 Iterator SOAPFault.getFaultReasonLocales()
          Returns an Iterator over a distinct sequence of Locales for which there are associated Reason Text items.
 Iterator SOAPFault.getFaultReasonTexts()
          Returns an Iterator over a sequence of String objects containing all of the Reason Text items for this SOAPFault.
 Iterator SOAPFault.getFaultSubcodes()
          Gets the Subcodes for this SOAPFault as an iterator over QNames.
 Iterator MimeHeaders.getMatchingHeaders(String[] names)
          Returns all the MimeHeader objects whose name matches a name in the given array of names.
abstract  Iterator SOAPPart.getMatchingMimeHeaders(String[] names)
          Retrieves all MimeHeader objects that match a name in the given array.
abstract  Iterator AttachmentPart.getMatchingMimeHeaders(String[] names)
          Retrieves all MimeHeader objects that match a name in the given array.
 Iterator SOAPElement.getNamespacePrefixes()
          Returns an Iterator over the namespace prefix Strings declared by this element.
 Iterator MimeHeaders.getNonMatchingHeaders(String[] names)
          Returns all of the MimeHeader objects whose name does not match a name in the given array of names.
abstract  Iterator SOAPPart.getNonMatchingMimeHeaders(String[] names)
          Retrieves all MimeHeader objects whose name does not match a name in the given array.
abstract  Iterator AttachmentPart.getNonMatchingMimeHeaders(String[] names)
          Retrieves all MimeHeader objects whose name does not match a name in the given array.
 Iterator SOAPElement.getVisibleNamespacePrefixes()
          Returns an Iterator over the namespace prefix Strings visible to this element.
 

Methods in javax.xml.soap with parameters of type Iterator
 SOAPHeaderElement SOAPHeader.addUpgradeHeaderElement(Iterator supportedSOAPURIs)
          Creates a new Upgrade SOAPHeaderElement object initialized with the specified List of supported SOAP URIs and adds it to this SOAPHeader object.
 

Uses of Iterator in javax.xml.stream
 

Subinterfaces of Iterator in javax.xml.stream
 interface XMLEventReader
          This is the top level interface for parsing XML Events.
 

Methods in javax.xml.stream with parameters of type Iterator
abstract  EndElement XMLEventFactory.createEndElement(QName name, Iterator namespaces)
          Create a new EndElement
abstract  EndElement XMLEventFactory.createEndElement(String prefix, String namespaceUri, String localName, Iterator namespaces)
          Create a new EndElement
abstract  StartElement XMLEventFactory.createStartElement(QName name, Iterator attributes, Iterator namespaces)
          Create a new StartElement.
abstract  StartElement XMLEventFactory.createStartElement(QName name, Iterator attributes, Iterator namespaces)
          Create a new StartElement.
abstract  StartElement XMLEventFactory.createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces)
          Create a new StartElement.
abstract  StartElement XMLEventFactory.createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces)
          Create a new StartElement.
abstract  StartElement XMLEventFactory.createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context)
          Create a new StartElement.
abstract  StartElement XMLEventFactory.createStartElement(String prefix, String namespaceUri, String localName, Iterator attributes, Iterator namespaces, NamespaceContext context)
          Create a new StartElement.
 

Uses of Iterator in javax.xml.stream.events
 

Methods in javax.xml.stream.events that return Iterator
 Iterator StartElement.getAttributes()
          Returns an Iterator of non-namespace declared attributes declared on this START_ELEMENT, returns an empty iterator if there are no attributes.
 Iterator EndElement.getNamespaces()
          Returns an Iterator of namespaces that have gone out of scope.
 Iterator StartElement.getNamespaces()
          Returns an Iterator of namespaces declared on this element.
 

Uses of Iterator in javax.xml.stream.util
 

Classes in javax.xml.stream.util that implement Iterator
 class EventReaderDelegate
          This is the base class for deriving an XMLEventReader filter.
 

Uses of Iterator in javax.xml.ws
 

Methods in javax.xml.ws that return Iterator
 Iterator<QName> Service.getPorts()
          Returns an Iterator for the list of QNames of service endpoints grouped by this service
 

Uses of Iterator in javax.xml.ws.spi
 

Methods in javax.xml.ws.spi that return Iterator
abstract  Iterator<QName> ServiceDelegate.getPorts()
          Returns an Iterator for the list of QNames of service endpoints grouped by this service
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.