Class ComposedIterator<T>
- java.lang.Object
- 
- org.eclipse.net4j.util.collection.AbstractIterator<T>
- 
- org.eclipse.net4j.util.collection.ComposedIterator<T>
 
 
- 
- All Implemented Interfaces:
- java.util.Iterator<T>
 
 public class ComposedIterator<T> extends AbstractIterator<T> An iterator that is composed of multiple delegate iterators.- Since:
- 3.4
- Author:
- Eike Stepper
 
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.net4j.util.collection.AbstractIteratorEND_OF_DATA
 
- 
 - 
Constructor SummaryConstructors Constructor Description ComposedIterator(java.util.Collection<? extends java.util.Iterator<T>> delegates)ComposedIterator(java.util.Iterator<? extends java.util.Iterator<T>> delegates)ComposedIterator(java.util.Iterator<T>... delegates)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectcomputeNextElement()Returns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.static <T> java.util.Iterator<T>fromIterables(java.util.Collection<? extends java.lang.Iterable<T>> iterables)- 
Methods inherited from class org.eclipse.net4j.util.collection.AbstractIteratorempty, hasNext, next, remove
 
- 
 
- 
- 
- 
Constructor Detail- 
ComposedIterator@SafeVarargs public ComposedIterator(java.util.Iterator<T>... delegates) 
 - 
ComposedIteratorpublic ComposedIterator(java.util.Collection<? extends java.util.Iterator<T>> delegates) 
 - 
ComposedIteratorpublic ComposedIterator(java.util.Iterator<? extends java.util.Iterator<T>> delegates) 
 
- 
 - 
Method Detail- 
computeNextElementprotected java.lang.Object computeNextElement() Description copied from class:AbstractIteratorReturns the next iteration element, orAbstractIterator.END_OF_DATAif the end of the iteration has been reached.- Specified by:
- computeNextElementin class- AbstractIterator<T>
 
 - 
fromIterablespublic static <T> java.util.Iterator<T> fromIterables(java.util.Collection<? extends java.lang.Iterable<T>> iterables) 
 
- 
 
-