JavaScript is disabled on your browser.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
java.lang
Interface Iterable<T>
All Known Subinterfaces:
Collection
<E>,
Deque
<E>,
List
<E>,
NavigableSet
<E>,
Queue
<E>,
Set
<E>,
SortedSet
<E>
All Known Implementing Classes:
AbstractCollection
,
AbstractList
,
AbstractQueue
,
AbstractSequentialList
,
AbstractSet
,
ArrayDeque
,
ArrayList
,
HashSet
,
LinkedHashSet
,
LinkedList
,
PriorityQueue
,
Stack
,
TreeSet
,
Vector
public interface
Iterable<T>
Objects of classes that implement this interface can be used within a
foreach
statement.
Since:
1.5
Method Summary
Methods
Modifier and Type
Method and Description
Iterator
<
T
>
iterator
()
Returns an
Iterator
for the elements in this object.
Method Detail
iterator
Iterator
<
T
> iterator()
Returns an
Iterator
for the elements in this object.
Returns:
An
Iterator
instance.
Overview
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method