Package net.sf.saxon.tree.iter
Interface ReversibleIterator
-
- All Superinterfaces:
java.lang.AutoCloseable
,java.io.Closeable
,SequenceIterator
- All Known Implementing Classes:
ArrayIterator
,ArrayIterator.Of
,ArrayIterator.OfNodes
,AscendingRangeIterator
,DescendingRangeIterator
,EmptyIterator
,GroupByIterator.ManualGroupByIterator
,ListIterator
,ListIterator.Of
,ListIterator.OfAtomic
,ManualGroupIterator
,ManualIterator
,ManualRegexIterator
,MergeGroupingIterator.ManualMergeGroupingIterator
,NodeListIterator
,net.sf.saxon.expr.RangeIterator
,Reverse.ReverseListIterator
,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).
-
-
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, discharge, 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
-
-