public class SingleAtomicIterator extends SingletonIterator implements AtomicIterator, ReversibleIterator, LastPositionFinder, GroundedIterator, LookaheadIterator
Constructor and Description |
---|
SingleAtomicIterator(AtomicValue value)
Private constructor: external classes should use the factory method
|
Modifier and Type | Method and Description |
---|---|
SingleAtomicIterator |
getReverseIterator()
Get a new SequenceIterator that returns the same items in reverse order.
|
AtomicValue |
next()
Get the next item in the sequence.
|
getLength, getResidue, getValue, hasNext, isActuallyGrounded, makeIterator, materialize, rawIterator, supportsGetLength, supportsHasNext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLength, supportsGetLength
getResidue, isActuallyGrounded, materialize
hasNext, supportsHasNext
close, discharge
public SingleAtomicIterator(AtomicValue value)
value
- the item to iterate overpublic SingleAtomicIterator getReverseIterator()
ReversibleIterator
getReverseIterator
in interface ReversibleIterator
getReverseIterator
in class SingletonIterator
public AtomicValue next()
SequenceIterator
next
in interface SequenceIterator
next
in interface AtomicIterator
next
in class SingletonIterator
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.