Package java.lang
Interface Iterable<T>
-
- Type Parameters:
T- the type of elements returned by the iterator
- All Known Subinterfaces:
Collection<E>,Deque<E>,Internal.BooleanList,Internal.DoubleList,Internal.FloatList,Internal.IntList,Internal.LongList,Internal.ProtobufList<E>,LazyStringList,List<E>,NavigableSet<E>,ProtocolStringList,Queue<E>,Set<E>,SortedSet<E>
- All Known Implementing Classes:
AbstractCollection,AbstractKFList,AbstractList,AbstractQueue,AbstractSequentialList,AbstractSet,ArrayDeque,ArrayList,ByteString,HashSet,Internal.IntListAdapter,Internal.ListAdapter,JSONArray,KFList,KFList2,LazyStringArrayList,LinkedList,Stack,TreeSet,Vector
public interface Iterable<T>Implementing this interface allows an object to be the target of the "foreach" statement.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterator<T>iterator()Returns an iterator over a set of elements of type T.
-