Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.nio.file |
Defines interfaces and classes for the Java virtual machine to access files,
file attributes, and file systems.
|
java.util |
Contains the collections framework, legacy collection classes, event model,
date and time facilities, random-number generator, and miscellaneous utility
classes.
|
Modifier and Type | Method and Description |
---|---|
Iterator<T> |
Iterable.iterator()
Returns an iterator over elements of type
T . |
Modifier and Type | Method and Description |
---|---|
Iterator<Path> |
Path.iterator()
Returns an iterator over the name elements of this path.
|
Iterator<T> |
DirectoryStream.iterator()
Returns the iterator associated with this
DirectoryStream . |
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> |
LinkedList.descendingIterator() |
Iterator<E> |
Deque.descendingIterator()
Returns an iterator over the elements in this deque in reverse
sequential order.
|
Iterator<E> |
ArrayDeque.descendingIterator() |
Iterator<E> |
Set.iterator()
Returns an iterator over the elements in this set.
|
Iterator<S> |
ServiceLoader.iterator()
Lazily loads the available providers of this loader's service.
|
Iterator<E> |
List.iterator()
Returns an iterator over the elements in this list in proper sequence.
|
Iterator<E> |
HashSet.iterator()
Returns an iterator over the elements in this set.
|
Iterator<E> |
Deque.iterator()
Returns an iterator over the elements in this deque 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> |
ArrayDeque.iterator()
Returns an iterator over the elements in this deque.
|
Iterator<E> |
AbstractSequentialList.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 contained in this collection.
|
Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. Use of this specification is subject to license terms.