Package net.sf.saxon.tree.iter
Interface ReversibleIterator
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,SequenceIterator
- All Known Subinterfaces:
ConstrainedIterator<T>
- All Known Implementing Classes:
EmptyIterator
,GroupByIterator.ManualGroupByIterator
,ListIterator
,ListIterator.Atomic
,ListIterator.OfNodes
,ManualGroupIterator
,ManualIterator
,ManualRegexIterator
,MergeGroupingIterator.ManualMergeGroupingIterator
,RangeIterator
,ReverseListIterator
,ReverseRangeIterator
,SingleAtomicIterator
,SingleNodeIterator
,SingletonIterator
public interface ReversibleIterator extends SequenceIterator
A ReversibleIterator is an interface implemented by any SequenceIterator that is able to deliver items in reverse order (or to supply another iterator that can do so).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.sf.saxon.om.SequenceIterator
SequenceIterator.Property
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SequenceIterator
getReverseIterator()
Get a new SequenceIterator that returns the same items in reverse order.-
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties, materialize, next
-
-
-
-
Method Detail
-
getReverseIterator
SequenceIterator getReverseIterator()
Get a new SequenceIterator that returns the same items in reverse order. If this SequenceIterator is an AxisIterator, then the returned SequenceIterator must also be an AxisIterator.- Returns:
- an iterator over the items in reverse order
-
-