Constructor and Description |
---|
MultiIterator(Iterator<T>[] array)
Create an iterator that concatenates a number of supplied iterators
|
public boolean hasNext()
public T next()
next
in interface Iterator<T>
NoSuchElementException
- iteration has no more elements.public void remove()
remove
in interface Iterator<T>
UnsupportedOperationException
- if the remove
operation is not supported by this Iterator.IllegalStateException
- if the next method has not
yet been called, or the remove method has already
been called after the last call to the next
method.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.