Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.tree.iter
Interface ReversibleIterator<T extends Item>

All Superinterfaces:
  SequenceIterator<T>

All Known Implementing Classes:
  ArrayIterator, EmptyAxisIterator, EmptyIterator, ManualIterator, RangeIterator, ReverseArrayIterator, ReverseRangeIterator, SingleNodeIterator, SingletonIterator

    public interface ReversibleIterator<T extends Item>

extends SequenceIterator<T>

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).

Field Summary

Fields inherited from interface net.sf.saxon.om.SequenceIterator
`GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD`

Method Summary
`SequenceIterator<T>` | `getReverseIterator()` Get a new SequenceIterator that returns the same items in reverse order.

Methods inherited from interface net.sf.saxon.om.SequenceIterator
`close, current, getAnother, getProperties, next, position`

Method Detail

### getReverseIterator

    SequenceIterator<T> 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

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.