Package com._1c.g5.v8.dt.common
Class CompositeIterator<E>
- java.lang.Object
-
- com._1c.g5.v8.dt.common.CompositeIterator<E>
-
-
Constructor Summary
Constructors Constructor Description CompositeIterator(Iterator<E>... iterators)
Create new instance of this class by specifiediterators
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Iterator<E>
getDelegate()
Get delegate iteratorboolean
hasNext()
Implementation of the java.util.Iterator#hasNext().E
next()
Implementation of the java.util.Iterator#next().void
remove()
Implementation of the java.util.Iterator#remove().-
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
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
Implementation of the java.util.Iterator#hasNext(). Delegates this method to the current iterator.- Specified by:
hasNext
in interfaceIterator<E>
- See Also:
Iterator.hasNext()
-
remove
public void remove()
Implementation of the java.util.Iterator#remove(). Delegates this method to the current iterator.- Specified by:
remove
in interfaceIterator<E>
- See Also:
Iterator.remove()
-
next
public E next()
Implementation of the java.util.Iterator#next(). Delegates this method to the current iterator.- Specified by:
next
in interfaceIterator<E>
- See Also:
Iterator.next()
-
-