| Constructor and Description |
|---|
PairIterator(T one,
T two)
Create an iterator over two objects
|
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-2013 Saxonica Limited. All rights reserved.