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<E>
All Known Subinterfaces:
BeanContext
,
BeanContextServices
,
Collection
<E>,
List
<E>,
Set
<E>,
SortedSet
<E>
All Known Implementing Classes:
AbstractCollection
,
AbstractList
, java.util.AbstractQueue,
AbstractSequentialList
,
AbstractSet
,
ArrayList
,
AttributeList
,
BeanContextServicesSupport
,
BeanContextSupport
,
CopyOnWriteArrayList
,
EnumSet
,
HashSet
,
JobStateReasons
,
LinkedHashSet
,
LinkedList
,
PriorityQueue
,
ServiceLoader
,
Stack
,
TreeSet
,
Vector
public interface
Iterable
<E>
This interface is used to indicate that a given class can be iterated over. The compiler uses this interface to determine which classes are suitable targets of the
foreach
construct.
Since:
1.5
Method Summary
Methods
Modifier and Type
Method and Description
Iterator
<
E
>
iterator
()
Returns an iterator for the collection.
Method Detail
iterator
Iterator
<
E
>
iterator
()
Returns an iterator for the collection.
Returns:
an iterator.
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