Spring Web Flow

org.springframework.binding.collection
Class CompositeIterator<E>

java.lang.Object
  extended by org.springframework.binding.collection.CompositeIterator<E>
All Implemented Interfaces:
java.util.Iterator<E>

Deprecated. in favor of CompositeIterator

@Deprecated
public class CompositeIterator<E>
extends java.lang.Object
implements java.util.Iterator<E>

Iterator that combines multiple other iterators. This is a simple implementation that just maintains a list of iterators which are invoked in sequence untill all iterators are exhausted.

Author:
Erwin Vervaet

Constructor Summary
CompositeIterator()
          Deprecated. Create a new composite iterator.
 
Method Summary
 void add(java.util.Iterator<E> iterator)
          Deprecated. Add given iterator to this composite.
 boolean hasNext()
          Deprecated.  
 E next()
          Deprecated.  
 void remove()
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeIterator

public CompositeIterator()
Deprecated. 
Create a new composite iterator. Add iterators using the add(Iterator) method.

Method Detail

add

public void add(java.util.Iterator<E> iterator)
Deprecated. 
Add given iterator to this composite.


hasNext

public boolean hasNext()
Deprecated. 
Specified by:
hasNext in interface java.util.Iterator<E>

next

public E next()
Deprecated. 
Specified by:
next in interface java.util.Iterator<E>

remove

public void remove()
Deprecated. 
Specified by:
remove in interface java.util.Iterator<E>

Spring Web Flow