Class CompositeIterator<E>
java.lang.Object
org.springframework.util.CompositeIterator<E>
- Type Parameters:
- E- the element type
- All Implemented Interfaces:
- Iterator<E>
Composite iterator that combines multiple other iterators,
as registered via 
add(Iterator).
This implementation maintains a linked set of iterators which are invoked in sequence until all iterators are exhausted.
- Since:
- 3.0
- Author:
- Erwin Vervaet, Juergen Hoeller
- 
Constructor Details- 
CompositeIteratorpublic CompositeIterator()
 
- 
- 
Method Details- 
add
- 
hasNext
- 
next
- 
remove
 
-