Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: How To: Make An Iterator

by Roy Johnson (Monsignor)
on Apr 25, 2005 at 18:36 UTC ( #451299=note: print w/ replies, xml ) Need Help??

in reply to How To: Make An Iterator

A quibble on terms: what you call a "reusable iterator" is a "factory". A reusable iterator would be one that resets itself after returning the "list is exhausted" value. Array iterator factory is an example of a factory that generates reusable iterators.

Caution: Contents may have been coded under pressure.

Comment on Re: How To: Make An Iterator

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://451299]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2015-11-27 15:10 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls