public class PairIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor and Description |
---|
PairIterator(T one,
T two)
Create an iterator over two objects
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
T |
next()
Returns the next element in the iteration.
|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.