Talk:Iterator pattern

From Wikipedia, the free encyclopedia

This is one of my first pages created on Wikipedia. Could someone help this page get exposure and turn it into a stub template?

Lababidi 05:06, 18 April 2006 (UTC)

[edit] Clarify the number of methods clause

Why 7 methods? sCan anyone explain this more clearly? --Quaestor23 17:56, 14 February 2007 (UTC)

Yes - why 7? Is it one for each concrete class to get the iterator, and then three for the iterator itself? mick wood May 3rd 2007

[edit] Attribute the definition

The first line has the clause: "access the elements of an aggregate object sequentially without exposing its underlying representation" which seems to have been extracted from the Gang-of-Four book (http://en.wikipedia.org/wiki/Design_Patterns) according to the attribution here: http://home.earthlink.net/~huston2/dp/iterator.html If someone has the book could they verify? --arkul 04:45, 26 August 2007 (UTC)

I can confirm that this clause is exactly as it appears on Page 257 of my version of the Gang-of-Four book (Eleventh printing, May 1997) —Preceding unsigned comment added by TheThiefOfTime (talk • contribs) 11:00, 13 May 2008 (UTC)

[edit] Merger proposal

Iterator appears to cover the same subject as this page, but in much more detail.

Reply: both entries seem desirable and apt. It seems desirable to link the two -- something this current query is achieving.

Iterator provides excellent implementation details for those aware of design patterns who are seeking information on this particular pattern.

The iterator desigh pattern entry is helpful for those seeking information on what desigh patterns are [or, as in my search, in seekiing an explanation of iterator in a design pattern context].--150.135.48.70 18:22, 9 November 2007 (UTC)