Uses of Interface
java.util.Iterator
-
Packages that use Iterator Package Description java.lang java.util -
-
Uses of Iterator in java.lang
Methods in java.lang that return Iterator Modifier and Type Method Description Iterator<T>
Iterable. iterator()
Returns anIterator
for the elements in this object. -
Uses of Iterator in java.util
Subinterfaces of Iterator in java.util Modifier and Type Interface Description interface
ListIterator<E>
An ListIterator is used to sequence over a List of objects.Methods in java.util that return Iterator Modifier and Type Method Description Iterator<E>
ArrayList. iterator()
Returns an iterator over the elements in this list in proper sequence.Iterator<E>
Collection. iterator()
Returns an instance ofIterator
that may be used to access the objects contained by thisCollection
.Iterator<E>
List. iterator()
Returns an iterator on the elements of thisList
.
-