|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Iterable<T>
Iterable indicates that a class contains elements that can be iterated over. It generic parameter provides the type of these elements.
A class that implements this class can be iterated by Java 5's for-loop.
| Method Summary | |
|---|---|
Iterator<T> |
iterator()
Returns an iterator over the elements. |
| Method Detail |
|---|
Iterator<T> iterator()
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||