Uses of Interface
java.util.Iterator
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 classfile constant pool entries for the
java.lang.classfile
PREVIEW 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 an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment.
-
Uses of Iterator in com.sun.jdi.event
-
Uses of Iterator in com.sun.source.util
-
Uses of Iterator in java.applet
Modifier 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 of Iterator in java.awt.dnd
Modifier and TypeMethodDescriptionDragGestureEvent.iterator()
Returns anIterator
for the events comprising the gesture. -
Uses of Iterator in java.beans.beancontext
Modifier 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.Modifier and TypeMethodDescriptionprotected Iterator
<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 of Iterator in java.lang
-
Uses of Iterator in java.lang.classfilePREVIEW
-
Uses of Iterator in java.lang.classfile.constantpoolPREVIEW
-
Uses of Iterator in java.nio.charset.spi
-
Uses of Iterator in java.nio.file
-
Uses of Iterator in java.security.cert
Modifier 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
<? extends PolicyNode> 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 of Iterator in java.sql
-
Uses of Iterator in java.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 of Iterator in java.util.concurrent
Modifier 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 of Iterator in java.util.stream
-
Uses of Iterator in javax.imageio
Modifier and TypeMethodDescriptionstatic Iterator
<ImageReader> ImageIO.getImageReaders
(Object input) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the suppliedObject
, typically anImageInputStream
.static Iterator
<ImageReader> ImageIO.getImageReadersByFormatName
(String formatName) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode the named format.static Iterator
<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.static Iterator
<ImageReader> ImageIO.getImageReadersBySuffix
(String fileSuffix) Returns anIterator
containing all currently registeredImageReader
s that claim to be able to decode files with the given suffix.static Iterator
<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
.abstract Iterator
<ImageTypeSpecifier> ImageReader.getImageTypes
(int imageIndex) Returns anIterator
containing possible image types to which the given image may be decoded, in the form ofImageTypeSpecifiers
s.static Iterator
<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.static Iterator
<ImageWriter> ImageIO.getImageWritersByFormatName
(String formatName) Returns anIterator
containing all currently registeredImageWriter
s that claim to be able to encode the named format.static Iterator
<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.static Iterator
<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<? extends ImageReadParam> 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.Modifier and TypeMethodDescriptionprotected static BufferedImage
ImageReader.getDestination
(ImageReadParam param, Iterator<ImageTypeSpecifier> imageTypes, int width, int height) Returns theBufferedImage
to which decoded pixel data should be written.ImageReader.readAll
(Iterator<? extends ImageReadParam> 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 of Iterator in javax.imageio.spi
Modifier 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.Modifier and TypeMethodDescriptionvoid
ServiceRegistry.registerServiceProviders
(Iterator<?> providers) Adds a set of service provider objects, taken from anIterator
to the registry.ModifierConstructorDescriptionServiceRegistry
(Iterator<Class<?>> categories) Constructs aServiceRegistry
instance with a set of categories taken from thecategories
argument. -
Uses of Iterator in javax.tools
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionNodeSetData.iterator()
Returns a read-only iterator over the nodes contained in thisNodeSetData
in document order. -
Uses of Iterator in javax.xml.crypto.dom
-
Uses of Iterator in javax.xml.namespace
Modifier and TypeMethodDescriptionNamespaceContext.getPrefixes
(String namespaceURI) Get all prefixes bound to a Namespace URI in the current scope. -
Uses of Iterator in javax.xml.stream
Modifier and TypeInterfaceDescriptioninterface
This is the top level interface for parsing XML Events.Modifier and TypeMethodDescriptionabstract EndElement
XMLEventFactory.createEndElement
(String prefix, String namespaceUri, String localName, Iterator<? extends Namespace> namespaces) Create a new EndElementabstract EndElement
XMLEventFactory.createEndElement
(QName name, Iterator<? extends Namespace> namespaces) Create a new EndElementabstract StartElement
XMLEventFactory.createStartElement
(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) Create a new StartElement.abstract StartElement
XMLEventFactory.createStartElement
(String prefix, String namespaceUri, String localName, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces, NamespaceContext context) Create a new StartElement.abstract StartElement
XMLEventFactory.createStartElement
(QName name, Iterator<? extends Attribute> attributes, Iterator<? extends Namespace> namespaces) Create a new StartElement. -
Uses of Iterator in javax.xml.stream.events
Modifier 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 of Iterator in javax.xml.stream.util
Modifier and TypeClassDescriptionclass
This is the base class for deriving an XMLEventReader filter. -
Uses of Iterator in javax.xml.xpath