E
- The type of the elements.@NotThreadSafe public final class JointIterator<E> extends Object implements Iterator<E>
Constructor and Description |
---|
JointIterator(Iterable<? extends E> i1,
Iterable<? extends E> i2)
Constructs a new
JointIterator from the given iterables. |
JointIterator(Iterator<? extends E> i1,
Iterator<? extends E> i2)
Constructs a new
JointIterator from the given iterators. |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
E |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public JointIterator(Iterable<? extends E> i1, Iterable<? extends E> i2)
JointIterator
from the given iterables.i1
- the first iterable.i2
- the second iterable.NullPointerException
- if any parameter is null
.public JointIterator(Iterator<? extends E> i1, Iterator<? extends E> i2)
JointIterator
from the given iterators.i1
- the first iterator.i2
- the second iterator.NullPointerException
- if any parameter is null
.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.