createReversibleIterator

createReversibleIterator(): JadeReversibleIteratorIF;

The createReversibleIterator method of the JadeReverseIterableIF interface returns a reference to the implementation of the JadeReversibleIteratorIF interface that can be used to iterate the JadeReverseIterableIF receiver, in a forward or a reversed direction.

It is the responsibility of the JadeReverseIterableIF implementor to ensure that the implementation of the createReversibleIterator method returns a JadeReversibleIteratorIF implementor that can iterate the receiver. If this is not done, undefined behavior can occur if attempting to use the JadeReverseIterableIF implementor in a foreach instruction.

2020.0.01 and higher