Class CombinedIterator<T>
java.lang.Object
ch.njol.util.coll.iterator.CombinedIterator<T>
- All Implemented Interfaces:
Iterator<T>
@Deprecated(since="2.10.0",
forRemoval=true)
public class CombinedIterator<T>
extends Object
implements Iterator<T>
Deprecated, for removal: This API element is subject to removal in a future version.
An iterator that iterates over all elements of several iterables.
Elements are removable from this iterator if the source iterables support element removal, unless removal is blocked on creation.
-
Constructor Summary
ConstructorsConstructorDescriptionCombinedIterator(Iterator<? extends Iterable<T>> iterators) Deprecated, for removal: This API element is subject to removal in a future version.CombinedIterator(Iterator<? extends Iterable<T>> iterators, boolean removable) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()Deprecated, for removal: This API element is subject to removal in a future version.next()Deprecated, for removal: This API element is subject to removal in a future version.voidremove()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
CombinedIterator
-
CombinedIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-
Iterators.concat(Iterator[])instead.