Under what circumstances should it be designed as an iterator.
I have a Polygon class whose attributes are aggregated by edges. Should I directly use an edge array as its member, or design Polygon as an iterator of the edge collection? Can I get some suggestions, and what are the reasons for your suggestion?
Aucun commentaire:
Enregistrer un commentaire