JadeReversibleIteratorIF Interface

The JadeReversibleIteratorIF interface, defined in RootSchema, extends the JadeIterableIF JadeIterableIF interface and provides the contract for an implementing class to sequentially generate or access elements, one at a time, in the opposite direction to the JadeIteratorIF interface next method implementation.

A JadeReversibleIteratorIF interface implementation instance is generally created and returned by a JadeReverseIterableIF implementation, which exposes the createReversibleIterator method.

Both this JadeReversibleIteratorIF interface and the JadeIteratorIF interface are implemented by the RootSchema Iterator class, which provides forward‑ and reverse‑direction iteration for Collection classes.

For details about implementing the JadeReversibleIteratorIF interface for a class selected in the Class Browser of your schema, see "Implementing an Interface", in Chapter 14 (Adding and Maintaining Interfaces"), of the JADE Development Environment User’s Guide.

The automatically generated stub methods in classes that implement the interface contain no body logic. It is your responsibility to provide the source code that meets your application requirements for each stub method.

For details about the JadeReversibleIteratorIF interface method, see "JadeReversibleIteratorIF Interface Method", in the following subsection.

Implemented by:   Iterator

Extends:   JadeIteratorIF

2020.0.01 and higher