| Package | Description | 
|---|---|
| java.lang | Contains core language classes. | 
| java.util | Contains utility classes including the collections framework and date manipulation. | 
| 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> | 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> | AbstractList. iterator()Returns an iterator over the elements in this list in proper sequence. | 
| Iterator<E> | ArrayList. iterator()Returns an iterator over the elements in this list in proper sequence. | 
| Iterator<E> | Set. iterator()Returns an iterator over the elements in this set. | 
| abstract Iterator<E> | AbstractCollection. iterator()Returns an iterator over the elements in this collection. |