Package ch.njol.util.coll.iterator
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 TypeMethodDescriptionboolean
hasNext()
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.void
remove()
Deprecated, for removal: This API element is subject to removal in a future version.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
-
CombinedIterator
Deprecated, for removal: This API element is subject to removal in a future version. -
CombinedIterator
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
hasNext
public boolean hasNext()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. -
remove
public void remove()Deprecated, for removal: This API element is subject to removal in a future version.
-
Iterators.concat(Iterator[])
instead.