KickJava   Java API By Example, From Geeks To Geeks.

Java > Java SE, EE, ME > java > lang > Iterable

java.lang
Interface Iterable<T>

All Known Subinterfaces:
BeanContext, BeanContextServices, BlockingQueue<E>, Collection<E>, List<E>, Queue<E>, Set<E>, SortedSet<E>
All Known Implementing Classes:
AbstractCollection, AbstractList, AbstractQueue, AbstractSequentialList, AbstractSet, ArrayBlockingQueue, ArrayList, AttributeList, BeanContextServicesSupport, BeanContextSupport, ConcurrentLinkedQueue, CopyOnWriteArrayList, CopyOnWriteArraySet, DelayQueue, EnumSet, HashSet, JobStateReasons, LinkedBlockingQueue, LinkedHashSet, LinkedList, PriorityBlockingQueue, PriorityQueue, RoleList, RoleUnresolvedList, Stack, SynchronousQueue, TreeSet, Vector
See Also:
Top Examples

Iterator<T> iterator()
Geek's Notes:
Description  Add your codes or notes  Search More Java Examples  


[1696]Reusing iterables
By lc { at } statsbiblioteket { dot } dk on 2006/01/11 02:58:55  Rate
Notice that the user may call iterator (  )  several times. Thus it cannot be based on a stream that you cannot restart, such as a pipe. You must either buffer the whole thing or keep info around that allows you to rebuild it.
Popular Tags