Interface Iterable
All Known Subinterfaces:
-
All Known Implementing Classes:
-
AbstractCollection,
AbstractList,
AbstractQueue,
AbstractSequentialList,
AbstractSet,
ArrayDeque,
ArrayList,
EnumSet,
HashSet,
LinkedHashSet,
LinkedList,
PriorityQueue,
ServiceLoader,
Stack,
TreeSet,
Vector
public interface Iterable
Implementing this interface allows an object to be the target of
the "foreach" statement.
Since:
-
1.5
| Method Summary |
|
iterator() Returns an iterator over a set of elements of type T. |
Method Detail
iterator
-
Returns an iterator over a set of elements of type T.
Returns:
-
an Iterator.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc. If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com