public class IteratorWrapper extends java.lang.Object implements SequenceIterator
Constructor and Description |
---|
IteratorWrapper(java.util.Iterator<? extends Item> iterator)
Create a IteratorWrapper backed by an iterator
|
Modifier and Type | Method and Description |
---|---|
Item |
next()
Get the next item in the Iterator
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, discharge
public IteratorWrapper(java.util.Iterator<? extends Item> iterator)
iterator
- the iterator that delivers the items in the sequencepublic Item next()
next
in interface SequenceIterator
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.