Class ADT.CritBit.IPv4Tree()->_get_iterator
- Description
Iterator class for IPv4Tree trees. Supports iterating over ranges with arbitrary stepping and direction.
This is used by default when calling
foreach
on an object of IPv4Tree. Inforeach
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.IPv4Tree._get_iterator ADT.CritBit.IPv4Tree._get_iterator(
void
|int
step
,void
|mixed
start
,void
|mixed
stop
)- Description
Returns an iterator object that runs from
start
tostop
using a stepsize ofstep
. The arguments default to1
,tree->first()
andtree->last()
, respectively.