---- On Fri, 15 Oct 2010 07:41:24 -0700 Guillermo Polito wrote ---- >BTW, why Stack inherits from LinkedList instead of just using it? Should an >Stack have the entire Collection protocol? I don't think so... That was the subject of the earlier discussion, and yes, I think it should implement all appropriate messages in Collection, including #add: (as #push:), #size and #do:. The Array-based Stack I wrote does not implement #remove:ifAbsent: and only supports removal at the top of the Stack through #pop. _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
- [Pharo-project] Stack should be reimplemented with Array jaayer
- Re: [Pharo-project] Stack should be reimplemented w... Eliot Miranda
- Re: [Pharo-project] Stack should be reimplemented w... jaayer
- Re: [Pharo-project] Stack should be reimplemented w... Stéphane Ducasse
- Re: [Pharo-project] Stack should be reimplement... Guillermo Polito
- Re: [Pharo-project] Stack should be reimple... jaayer
- Re: [Pharo-project] Stack should be reimplemented w... Levente Uzonyi
- Re: [Pharo-project] Stack should be reimplemented w... Stéphane Ducasse
- Re: [Pharo-project] Stack should be reimplemented w... Stéphane Ducasse
- Re: [Pharo-project] Stack should be reimplement... Eliot Miranda
- Re: [Pharo-project] Stack should be reimple... Igor Stasenko
- Re: [Pharo-project] Stack should be rei... Levente Uzonyi
- Re: [Pharo-project] Stack should b... Igor Stasenko
- Re: [Pharo-project] Stack shou... Levente Uzonyi
- Re: [Pharo-project] Stack ... Igor Stasenko
- Re: [Pharo-project] Stack ... Levente Uzonyi
