Package com._1c.g5.v8.dt.common
Class CompositeIterator<E>
java.lang.Object
com._1c.g5.v8.dt.common.CompositeIterator<E>
- All Implemented Interfaces:
Iterator<E>
Composite iterator
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeIterator
(Iterator<E>... iterators) Create new instance of this class by specifiediterators
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
CompositeIterator
Create new instance of this class by specifiediterators
- Parameters:
iterators
-
-
-
Method Details
-
getDelegate
Get delegate iterator- Returns:
- delegate iterator
-
hasNext
public boolean hasNext()Implementation of the java.util.Iterator#hasNext(). Delegates this method to the current iterator. -
remove
public void remove()Implementation of the java.util.Iterator#remove(). Delegates this method to the current iterator. -
next
Implementation of the java.util.Iterator#next(). Delegates this method to the current iterator.
-