Interface Iterable<T>
- All Known Subinterfaces:
Collection<E>, Deque<E>, List<E>, NavigableSet<E>, Queue<E>, Set<E>, SortedSet<E>
- All Known Implementing Classes:
AbstractCollection, AbstractList, AbstractQueue, AbstractSequentialList, AbstractSet, ArrayDeque, ArrayList, HashSet, LinkedHashSet, LinkedList, PriorityQueue, Stack, TreeSet, Vector
public interface Iterable<T>
Objects of classes that implement this interface can be used within a
foreach statement.
Since
1.5
-
Method Summary
-
Method Details
-
iterator
-
forEach
-