mardi 20 novembre 2018

Is there a term or a design pattern for an entity that traverses a tree

If you iterate over an array, you'd call that thing that iterates an Iterator.

What is the correct term for a thing going through an entire tree visiting every node and leaf? A traverser?

Is there a name design pattern for this?

Aucun commentaire:

Enregistrer un commentaire