java.lang
public interface: Iterable [javadoc |
source]
Implementing this interface allows an object to be the target of
the "foreach" statement.
Parameters:
- the type of elements returned by the iterator
- since:
1.5
-
Method from java.lang.Iterable Summary: |
---|
iterator |
Method from java.lang.Iterable Detail: |
public Iterator<T> iterator()
Returns an iterator over a set of elements of type T. |