Class ADT.CritBit.StringTree()->_get_iterator

Description

Iterator class for StringTree trees. Supports iterating over ranges with arbitrary stepping and direction.

This is used by default when calling foreach on an object of StringTree. In foreach the iterator runs over all elements from the first to the last.

See also

Iterator for a description of the interface.


Method create

ADT.CritBit.StringTree._get_iterator ADT.CritBit.StringTree._get_iterator(void|int step, void|mixed start, void|mixed stop)

Description

Returns an iterator object that runs from start to stop using a stepsize of step. The arguments default to 1, tree->first() and tree->last(), respectively.