public interface Iterable<T>
Implementing this interface allows an object to be the target of the "foreach" statement.
Method Summary | |
---|---|
Iterator < T > |
iterator
() Returns an iterator over a set of elements of type T. |
Method Detail |
---|
Iterator<T> iterator()