Package | Description |
---|---|
java.lang | |
java.util |
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
Iterable.iterator()
Returns an iterator over a set of elements of type T.
|
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Iterator<E> |
Vector.iterator()
Returns a list iterator over the elements in this list (in proper sequence).
|
Iterator<E> |
Set.iterator()
Returns an iterator over the elements in this set.
|
Iterator<E> |
List.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> |
ArrayList.iterator()
Returns an iterator over the elements in this list in proper sequence.
|
Iterator<E> |
AbstractList.iterator()
Returns an iterator over the elements in this list in proper sequence.
|
abstract Iterator<E> |
AbstractCollection.iterator()
Returns an iterator over the elements in this collection.
|