A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://docs.oracle.com/en/java/javase/20/docs/api/java.base/java/util/Iterator.html below:

Iterator (Java SE 20 & JDK 20)

Type Parameters:
E - the type of elements returned by this iterator
All Known Subinterfaces:
EventIterator, ListIterator<E>, PrimitiveIterator<T,T_CONS>, PrimitiveIterator.OfDouble, PrimitiveIterator.OfInt, PrimitiveIterator.OfLong, XMLEventReader
All Known Implementing Classes:
BeanContextSupport.BCSIterator, EventReaderDelegate, Scanner

public interface Iterator<E>

An iterator over a collection.

Iterator

takes the place of

Enumeration

in the Java Collections Framework. Iterators differ from enumerations in two ways:

This interface is a member of the Java Collections Framework.

API Note:
An Enumeration can be converted into an Iterator by using the Enumeration.asIterator() method.
Since:
1.2
See Also:

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4